linbayzak
asked on
convert 12 hr am/pm time to just hhmm in mysql
Hi Experts,
I'm using Scriptcase and in the onvalidate event, i want to format what the user entered as HH:MM (am/pm) to just bring in the military time, but i don't want it to show the colon, so if it is entered as 12:15 PM i would like it to convert to 1215
How can i do this?
I have this
{FormatTime}= Time_Format({ApptTime},hhi i);
Is this the correct way?
Thanks :-)
Laura
I'm using Scriptcase and in the onvalidate event, i want to format what the user entered as HH:MM (am/pm) to just bring in the military time, but i don't want it to show the colon, so if it is entered as 12:15 PM i would like it to convert to 1215
How can i do this?
I have this
{FormatTime}= Time_Format({ApptTime},hhi
Is this the correct way?
Thanks :-)
Laura
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
have a great day :-)