Dear Stata community,

I have a variable stored as dates in the Stata format i.e 01jul1993 (I converted them from string into the correct format). However
I know want to create a new variable which organises the observations according to whether the date was pre or post 31dec1996. what would be the best command to use please? I have tried reading the manual in reference to dates/ times but I could find anything that helps with generating new variable according to the date.

Many thanks for your help,

Roshani