Home
Networking
Cisco
Cisco Network & Lab
Cisco Exams
Others
Microsoft
Windows
Windows Servers
SQL Servers
Linux
Ubuntu
RedHat
SUSE
Programming
HTML
CSS
Java Script
JQuery
XML
PHP
ASP.Net
C#
General Knowledge
News
Services
Computer Services
Networking Services
Web Services
Software Development Services
CCTV Services
Email
IT & Mobile Shops
Shop1
Shop2
Sunday, November 26, 2017
Timestamp in PHP
<?php
$time = time();
$time_current = date('d M Y @ H:i:s', $time);
$time_modified = date('d M Y @ H:i:s', tostrtime(+ 1 year));
echo 'The current time is ' .$time_current. ' and The time modified is ' .$time_modified.'!';
?>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment