Jump to content

[SOLVED] Separating HH:MM:SS


Democreous

Recommended Posts

I have an edit time code that draws a time that was previously entered from mysql(using the time field) and allows the user to edit the Hour, Minute, and second of that events time.  I am wondering how to break apart the time so I can work with the Hours, minutes, and seconds separately, rather than as a whole (eg instead of $time=HH:MM:SS , have $hour=HH $min=MM & $sec=SS variables drawn from mysql)

Link to comment
https://forums.phpfreaks.com/topic/36827-solved-separating-hhmmss/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.