Jump to content

Archived

This topic is now archived and is closed to further replies.

Isoss

knowing "day" according to a given date

Recommended Posts

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

Share this post


Link to post
Share on other sites
You could try:
[code] echo date("D",strtotime("19-06-2006"));[/code]

Share this post


Link to post
Share on other sites
[!--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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.