Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- date_default_timezone_set('America/Bogota');
- $currentDate = date("d-m-Y");
- $currentTime = date("h:i:s");
- echo "Hey [user] the date is: $currentDate and the time is $currentTime ";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment