0 like 0 dislike
159 views
How to Convert a UNIX Timestamp to a Formatted Date String in PHP. Please help
in Education & Reference by (230 points) | 159 views

1 Answer

0 like 0 dislike
In PHP
 
<?php
$timestamp=1393248682;
echo gmdate("Y-m-d H:i:s", $timestamp);
?>
by

Related questions

1 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Aug 1, 2017 in Education & Reference by Krish (810 points) | 129 views
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
2 like 0 dislike
3 answers
0 like 0 dislike
1 answer

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

1,202 questions
1,347 answers
553 comments
1,994 users