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 Quote 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. Quote 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 Quote 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 Quote 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? Quote 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 Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/125036-convert-date-1646-09192008/#findComment-646160 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.