| | |
php date function
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
You need to use strtotime().
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
PHP Syntax (Toggle Plain Text)
<?php echo 'Now: '. date('Y-m-d') ."\n"; echo 'After 60 days : '. date('Y-m-d', strtotime('+60 days')) ."\n"; ?>
![]() |
Similar Threads
- PHP Dynamic Form HELP! (PHP)
- Customizable Time Formats (DaniWeb Community Feedback)
- Sending HTML email via PHP mail function (PHP)
- Strange behavior with Date() function (ASP)
- Validate the input date by comparing it with current year using Date function Date(Y) (PHP)
- PHP's include function ??? (PHP)
- my php session_destroy() function not working (PHP)
- PHP Feezing with a function (PHP)
Other Threads in the PHP Forum
- Previous Thread: php syntax error display..
- Next Thread: php reading a text file ..... help
| Thread Tools | Search this Thread |
ajax apache api array back basic beginner binary broken cakephp checkbox class cms code computing cron curl customizableitems database date delete display dynamic echo email error file files filter folder form forms forum function functions gc_maxlifetime google headmethod host href htaccess html image include insert integration ip java javascript joomla limit link login loop mail memmory memory menu mlm multiple mysql navigation oop parsing paypal pdf php problem query radio random recursion regex remote script search server sessions sms snippet soap source space sql syntax system table thesishelp trouble tutorial update upload url validation validator variable video web xml youtube






