Day Of Year to be used in compiler

Hi group,
How do I create something like ((last two digits of the year)*(dayof the year). EG today would be 21078. Want to use this as a Ident for the compiled date information. It much shorte than the DAY and TIME directive

Harry

i use 2 digit year, 2 digit month, 2 digit day and letter to track versions.

i only see a DATE define. you'd have to extract the year, month and day from that string (i.e. sscanf). you could convert the 3 letter month to a 2 digit month, but it would be just one more char (e.g. 21mar19)