monkeypaw201 Posted July 30, 2008 Share Posted July 30, 2008 Is there a way to easily convert decimal time to time in the format: 00:00 ? Link to comment https://forums.phpfreaks.com/topic/117294-decimal-time-to-0000-format/ Share on other sites More sharing options...
Third_Degree Posted July 30, 2008 Share Posted July 30, 2008 wrong thread. sorry. Link to comment https://forums.phpfreaks.com/topic/117294-decimal-time-to-0000-format/#findComment-603360 Share on other sites More sharing options...
Third_Degree Posted July 30, 2008 Share Posted July 30, 2008 oh well I guess it wasn't the wrong thread after all, you just changed your post. To answer your first question <?php $str = explode( '.', $stuff ); print $str[0]; ?> Link to comment https://forums.phpfreaks.com/topic/117294-decimal-time-to-0000-format/#findComment-603361 Share on other sites More sharing options...
monkeypaw201 Posted July 30, 2008 Author Share Posted July 30, 2008 Third_Degree... no, i actually figured out if i manage to convert decimal time to standard time, it would save time and make the code look neater, sorry for the confusion.. BTW: It was helpful though Link to comment https://forums.phpfreaks.com/topic/117294-decimal-time-to-0000-format/#findComment-603362 Share on other sites More sharing options...
monkeypaw201 Posted July 30, 2008 Author Share Posted July 30, 2008 bump Link to comment https://forums.phpfreaks.com/topic/117294-decimal-time-to-0000-format/#findComment-603672 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.