Hello everyone,

I would highly appreciate your help with the following:

I have a date-variable in the format such as "31jan2001" (type: long, Format: %td). For my further analysis, I would like to create a new variable which displays only the day-of-month, so the "31" as a numeric number.

I read several posts but I did not find a solution how to do this...

As always, thanks for your support!

Samuel