Convert between date and unix timestamp: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(Created page with "=== terms of time format === <div style="width:100%; min-height: .01%; overflow-x: auto;"> <table border="1" class="wikitable sortable nowrap"> <tr> <th> format \ date </th...")
 
mNo edit summary
Line 50: Line 50:
echo date('Y-m-d H:i:s', $timestamp) . PHP_EOL; // 2019-03-14 08:00:00
echo date('Y-m-d H:i:s', $timestamp) . PHP_EOL; // 2019-03-14 08:00:00
</pre>
</pre>
Excel way: convert to date from unix timestamp
* [https://docs.google.com/spreadsheets/d/1mUPLWLdCHcN5Nr3CL2JWYfdYmy4JyiYClXD1kHMLZc4/edit?usp=sharing demo]


== References ==
== References ==

Navigation menu