Error:Time defaulting to Midnight
Hi,
I have been using the Timeformat function in my table to output the time in "h:mm tt" format, Its working for a different cell on the same page with similar requirements but not on the current varaible(y) on the same page. But for the current variable(y), its defaulting to Midnight. And the DateFormat for the current variable(y) is using the same variable and its outputting correct dateformat.
If I dump the form in the database, its giving me date and time in these format:
2011-03-22- 00:00:00.0
Which is correct for date part but not for the time part.
Here's the code:
#Dateformat(xx.lmn,"mm/dd/yyyy")#--#TimeFormat(xx.lmn,"h:mm tt")#
Am I missing something. Please help.
Vijayvijay77.
