Resources
Answers
Examples
Sign in
Get Started
What do you want to save?
Add Code snippet
New code examples
PHP
2021-09-13 08:55:02
how to add extra days from a date php
<?php // PHP program to add days to $Date // Declare a date $date = "2019-05-10"; // Add days to date and display it echo date('Y-m-d', strtotime($date. ' + 10 days')); ?>
Add solution
PHP
2021-09-12 20:38:03
php date plus days
<?php // PHP program to add days to $Date // Declare a date $date = "2019-05-10"; // Add days to date and display it echo date('Y-m-d', strtotime($date. ' + 10 days')); ?>
Add solution
PHP
2021-09-02 00:01:02
create date from string php
$s = '06/10/2011 19:00:02'; $date = strtotime($s); echo date('d/M/Y H:i:s', $date); The above one is the one of the example of converting a string to date. echo $s ->format('Y-m-d'); The above one is another method
Add solution
PHP
2021-08-30 06:09:01
automatic get year for copyright html
php echo date(Y);?>
Add solution
PHP
2021-08-29 02:15:02
date to string in php
$s = '06/10/2011 19:00:02'; $date = strtotime($s); echo date('d/M/Y H:i:s', $date); The above one is the one of the example of converting a string to date. echo $s ->format('Y-m-d'); The above one is another method
Add solution
‹
1
2
3
4
›
Best helpers
daily
weekly
monthly
for 3 months
Michaeljt
+5
Andrei Petrenko
+5
Sudheesh
+5
Required
+5
Annedy
+5
Aesthetic_Bran
+5
F1234k
+5
Ann
+5
AndyP
+5
show more
This website uses cookies to make IQCode work for you. By using this site, you agree to our
cookie policy
Welcome Back!
Sign up to unlock all of IQCode features:
Test your skills and track progress
Engage in comprehensive interactive courses
Commit to daily skill-enhancing challenges
Solve practical, real-world issues
Share your insights and learnings
Sign in
E-mail
Password
Recover lost password
Log in
Or log in with
Not registered?
Sign up takes less than a minute
Create a Free Account
Sign up to unlock all of IQCode features:
Test your skills and track progress
Engage in comprehensive interactive courses
Commit to daily skill-enhancing challenges
Solve practical, real-world issues
Share your insights and learnings
Sign up
Email
Password
Sign up for free
Or sign up with
By signing up, you agree to the
Terms and Conditions
and
Privacy Policy
. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.