posted 23 years ago
Very quick question - I want to convert the format of a date/time. I retrieve a msec value from a database, but instead of displaying it as a msec value in an html page, I want to display it as a normal time (e.g. 12:22). I have managed to display it as a full date and time (that is, Sun Jul 14 12:22:03 GMT 2001). However, I only want to show the time 12:22, not the date and timezone. How do I go about this.
Thanks,
James