Write a PHP script to print the current date in the following format.
Sample format : (assume current date is September 01, 2013)2013/09/0113.09.0101-09-13
<?php echo date("Y/m/d") . "\n"; echo date("y.m.d") . "\n"; echo date("d-m-y")."\n"; ?>
Sample Output:
2017/02/16 17.02.16 16-02-17
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer