stevepatd Posted May 28, 2007 Share Posted May 28, 2007 I'm trying to sort a file by date/time on a Windows server running 2003. I'm finding an event that is at 12:00 pm (Noon) has an epoch value greater than any other event "afternoon". It appears that it thinks 12:00 pm is midnight. Am I wrong?? I thought noon was 12:00 pm and midnight was 12:00 am. Or, how do I work around this one?? I'm using the mktime function. Thx. Quote Link to comment https://forums.phpfreaks.com/topic/53236-solved-epoch-at-noon/ Share on other sites More sharing options...
chronister Posted May 28, 2007 Share Posted May 28, 2007 Post your code so we can see what your doing. It should not interpret noon as a later time than 5pm Quote Link to comment https://forums.phpfreaks.com/topic/53236-solved-epoch-at-noon/#findComment-263052 Share on other sites More sharing options...
stevepatd Posted May 28, 2007 Author Share Posted May 28, 2007 Thanks, I found it. I had a little math problem. Quote Link to comment https://forums.phpfreaks.com/topic/53236-solved-epoch-at-noon/#findComment-263054 Share on other sites More sharing options...
chronister Posted May 28, 2007 Share Posted May 28, 2007 That'll do it Quote Link to comment https://forums.phpfreaks.com/topic/53236-solved-epoch-at-noon/#findComment-263057 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.