Jump to content

rocketman

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

rocketman's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Found the solution using MySQL //This will return the day of the week in numerical format (i.e. "0" Monday to "6" Sunday) SELECT WEEKDAY('2003-01-01'); //This will return the day of the week in numerical format (i.e. "1" Sunday to "7" Saturday) SELECT DAYOFWEEK('2003-01-01');
  2. I have the following code: [code] $zi = date("l",strtotime($zi_de_calculat)); [/code] Where $zi_de_calculat it's a date in the format mm/dd/yy 03/25/06 becomes after applying strtotime 1143237600 and $zi becomes Saturday 03/26/06 becomes after applying strtotime 1143320400 and $zi becomes Saturday instead of Sunday Does anyone know the solution to this problem or the cause. Note: For all the other days of the week works just fine, only Sunday is replaced by Saturday. Thx
×
×
  • 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.