Dear members

I have the following date: 12-Dec-15 and would like to convert it to numerical so I can great a dummy variable equal to one if the data is less than 12-Dec-15 and zero otherwise.

What’s the right code to convert the data so I can use to create the dummy variable?

thanks for your help