Jump to content

last 14 days start and end


artech

Recommended Posts

first of all:

Longer post describing what I've been trying at:

http://www.phpfreaks.com/forums/index.php/topic,297252.0.html

 

Basically, I can't figure out how to get UNIX timestamps for:

  • The first and last second (i.e., 00:00:01 and 23:59:59) for each of the last 14 days.
  • The first and last second for each of the last 14 weeks (i.e., first second of 05/10/2010 and last second of 05/16/2010).
  • The first and last second for each of the last 12 months (i.e., first second of April 1, 2010 and last second of April 30, 2010).

 

The answer may be so simple I'll be smacking myself over it later, and in the thread I posted above I was way too long winded about what I was trying. Could definitely use some guidance tho.

 

Thx! :)

Link to comment
https://forums.phpfreaks.com/topic/201222-last-14-days-start-and-end/
Share on other sites

Archived

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

×
×
  • Create New...

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.