Time format it. Something like:
timeFormat("#form.hour#:#form.minute# #form.ampm#", "HH:mm")
-nathan strutz
http://www.dopefly.com/
Jeremy Bunton wrote:
> I have a form that collects 3 pieces of time data each as separate form
> vars. Hour, min and AM/PM in the format of 03 04 PM. I need to convert that
> to military time so here 15:04. I have looked at createtime() but it seems
> to not have a way to handle the AM/PM data. How do you all handle this?
>
> Jeremy
>
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209155
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54