| | |
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 |
apache api array beginner binary body broken buttons cakephp checkbox class cms code cron curl database date date/time display dynamic ebooks echo email error file files folder form forms function functions global google href htaccess html image include insert ip javascript joomla limit link list login mail mediawiki menu mlm msqli_multi_query multiple mycodeisbad mysql number oop parameter paypal pdf php phpincludeissue problem query radio random recourse recursion regex remote script search seo server sessions sms source sp space speed sql static subdomain syntax system table tag tutorial update upload url validator variable vbulletin video web webdesign white wordpress xml youtube






