DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php date + 1 year
$today =date('Y-m-d'); $expiryDate=date('Y-m-d H:i:s', strtotime('+1 year', strtotime($today)) );
PREVIOUS
NEXT
Tagged:
#php
#date
#year
ADD COMMENT
Topic
COMMENT
Name
1+6 =
Submit