Question
Date time formatting issues!!!!
guys,
I am trying to format date and time in the same variable. heres my code...
<cfset dtimes = LSDateFormat(now(),'YYYY-MM-DD h:mm:ss')>
the problem is, that it gives me the year month and day correctly.... the hour correctly, but where the minute is supposed to go, it gives me the month again (which makes sense cuz obviously its the same characters)... and then seconds are ok too. how do i fix it so it gives me the correct minutes? Thanks in advance!!!!
JE
I am trying to format date and time in the same variable. heres my code...
<cfset dtimes = LSDateFormat(now(),'YYYY-MM-DD h:mm:ss')>
the problem is, that it gives me the year month and day correctly.... the hour correctly, but where the minute is supposed to go, it gives me the month again (which makes sense cuz obviously its the same characters)... and then seconds are ok too. how do i fix it so it gives me the correct minutes? Thanks in advance!!!!
JE