I am running V8.5 against SQL Server.
How do I convert a datetime value to a number representing the number of days since Dec 30 1899 ( I believe this is the base Crystal uses).
I can find the formula to do the opposite (convert a number to a datetime value - this is done useing CDATE) , but not the opposite.
I fear I will have to break the datetime into component parts and manually calculate the number.
How do I convert a datetime value to a number representing the number of days since Dec 30 1899 ( I believe this is the base Crystal uses).
I can find the formula to do the opposite (convert a number to a datetime value - this is done useing CDATE) , but not the opposite.
I fear I will have to break the datetime into component parts and manually calculate the number.