G
Guest
I have some asp code I am converting to .net code.
In the old code, in a report, I have a report date & time that is returned
to the screen. The value of Today() returns the date (6/2/2004) and
TimeofDay() returns 14:51:00.
However on the aspx version of this same report, those two functions return
the following:
Today() returns 6/2/2004 12:00:00 AM
TimeofDay() returns 1/1/0001 2:51:00 PM
I've looked thru some info about formatting these two, but haven't yet found
a way to have the fucntion Today() return just the date, and TimeofDay
return just the time.
Can anyone help/advise?
Thanks
SC
In the old code, in a report, I have a report date & time that is returned
to the screen. The value of Today() returns the date (6/2/2004) and
TimeofDay() returns 14:51:00.
However on the aspx version of this same report, those two functions return
the following:
Today() returns 6/2/2004 12:00:00 AM
TimeofDay() returns 1/1/0001 2:51:00 PM
I've looked thru some info about formatting these two, but haven't yet found
a way to have the fucntion Today() return just the date, and TimeofDay
return just the time.
Can anyone help/advise?
Thanks
SC