Isoss Posted June 21, 2006 Share Posted June 21, 2006 Hey, just wondering whether PHP has some function that can give you the "week" day like sun, mon, tue ... when a certain date is given like 19-06-2006.Thanks Quote Link to comment https://forums.phpfreaks.com/topic/12518-knowing-day-according-to-a-given-date/ Share on other sites More sharing options...
zq29 Posted June 21, 2006 Share Posted June 21, 2006 You could try:[code] echo date("D",strtotime("19-06-2006"));[/code] Quote Link to comment https://forums.phpfreaks.com/topic/12518-knowing-day-according-to-a-given-date/#findComment-47937 Share on other sites More sharing options...
Isoss Posted June 23, 2006 Author Share Posted June 23, 2006 [!--quoteo(post=386297:date=Jun 21 2006, 01:21 AM:name=SemiApocalyptic)--][div class=\'quotetop\']QUOTE(SemiApocalyptic @ Jun 21 2006, 01:21 AM) [snapback]386297[/snapback][/div][div class=\'quotemain\'][!--quotec--]You could try:[code] echo date("D",strtotime("19-06-2006"));[/code][/quote]Thanks a bunch .. that's what I've been looking for. cuz i couldn't find it in the manual.Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/12518-knowing-day-according-to-a-given-date/#findComment-48933 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.