Code Script .co.uk

Home | Scripts | Tutorials | Disclaimer | Sitemap | Contact

   Calculate Date Yesterday
 

Reference / Php / Calculate Date Yesterday

Calculate the date yesterday (-1 days) or x days ago (-x days) e.g. a week ago (-7 days)


date('Y-mm-dd', strtotime('-1 days'));





Please note that a disclaimer applies to any code on this page.
 
   Actions
  Go Back
  Bookmark
  Print Page


   Menu
 
- Links
- Reference
     - Javascript
     - Mysql
     - Php
          - Calculate Date Yesterday
          - Database Backup
          - Ftp Upload
          - Gzip File
          - List Files In Directory
          - Previous Sql Insert Id
          - Send Email
          - Server Visitor Properties
          - Set Global Get And Post Variables
          - Sql Query Results
     - Standards
     - Windows Os
- Script Editors
- Tutorials
- Vbscript