jjmusicpro Posted September 20, 2008 Share Posted September 20, 2008 I have a date in this format 16:46 09/19/2008 and i want to convert it to normal time... i i have a huge vb script hat i am running, and need to know how to convert that to just normal time lol Link to comment https://forums.phpfreaks.com/topic/125036-convert-date-1646-09192008/ Share on other sites More sharing options...
ratcateme Posted September 20, 2008 Share Posted September 20, 2008 strtotime() to turn it into a unix timestamp and date() to format it Scott. Link to comment https://forums.phpfreaks.com/topic/125036-convert-date-1646-09192008/#findComment-646144 Share on other sites More sharing options...
jjmusicpro Posted September 20, 2008 Author Share Posted September 20, 2008 i tried that, i am pulling this value from a database, and it comes out as 16:46 09/19/2008 Link to comment https://forums.phpfreaks.com/topic/125036-convert-date-1646-09192008/#findComment-646145 Share on other sites More sharing options...
jjmusicpro Posted September 20, 2008 Author Share Posted September 20, 2008 i need to convert it in my vbscript Link to comment https://forums.phpfreaks.com/topic/125036-convert-date-1646-09192008/#findComment-646146 Share on other sites More sharing options...
Zane Posted September 20, 2008 Share Posted September 20, 2008 so this isn't a PHP question? Link to comment https://forums.phpfreaks.com/topic/125036-convert-date-1646-09192008/#findComment-646147 Share on other sites More sharing options...
jjmusicpro Posted September 20, 2008 Author Share Posted September 20, 2008 im calling the vbscript from my php page Link to comment https://forums.phpfreaks.com/topic/125036-convert-date-1646-09192008/#findComment-646152 Share on other sites More sharing options...
Zane Posted September 20, 2008 Share Posted September 20, 2008 but still, are you wanting to convert this timestamp with VB or with PHP what's the procedure you have going Link to comment https://forums.phpfreaks.com/topic/125036-convert-date-1646-09192008/#findComment-646160 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.