hyster Posted June 8, 2011 Share Posted June 8, 2011 vbs newbie i want to change the 1st block off code to the 2nd block needless to say its not working. date_entered="25/12/2011" millennium=CDate( "25/12/2011 00:00:00") Dim date_entered date_entered="25/12/2011" millennium=CDate( (date_entered) $ "00:00:00") Quote Link to comment https://forums.phpfreaks.com/topic/238759-vbs/ Share on other sites More sharing options...
hyster Posted June 8, 2011 Author Share Posted June 8, 2011 this worked. i was missing a space between the values Dim date_entered date_entered="25/12/2011" millennium=CDate( (date_entered) $ " " &"00:00:00") Quote Link to comment https://forums.phpfreaks.com/topic/238759-vbs/#findComment-1226864 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.