470,848 Members | 1,220 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,848 developers. It's quick & easy.

PHP time formatting ?

I would like to do something like this:

if my user enters:
1220
120
330
into a text box, when my PHP executes and displays this data on the
next page it will show up as:
12:20
1:20
3:30
so basically it will already have the : in it. How would I do this?

thanks
Jun 2 '08 #1
0 827

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Gerrit Holl | last post: by
3 posts views Thread by beliavsky | last post: by
11 posts views Thread by lduperval | last post: by
5 posts views Thread by HMS Surprise | last post: by
7 posts views Thread by christery | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.