JRussell
12th November 2002, 13:48
Hi
Can anyone tell me how to extract the day, month and year from a date field?
I need to find out the number of hours between 2 dates in a date range.
I have used the below func. but I get an error because it expects a number as its first arg and not a variable.
date1 = inputstr.to.date("date.f", "%D001")
Thanks in advance for your help
JR
Can anyone tell me how to extract the day, month and year from a date field?
I need to find out the number of hours between 2 dates in a date range.
I have used the below func. but I get an error because it expects a number as its first arg and not a variable.
date1 = inputstr.to.date("date.f", "%D001")
Thanks in advance for your help
JR