Formatting Unix timestamp to Date in PHP 5

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
buttsp
Forum Newbie
Posts: 13
Joined: Thu May 11, 2006 9:17 am

Formatting Unix timestamp to Date in PHP 5

Post by buttsp »

Hi All,
I have a very simple problme which somehow I couldnt able to do in PHP 5.

I have a unix timestamp e.g. 1147339895721 in string format, which i want to convert into a particular date format only e.g. 10/06/2006.

In Java I have been able to do that but in PHP 5, i have no idea how to that.

Pls help.
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:1. Select the correct board for your query. Take some time to read the guidelines in the sticky topic.
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:3. Do not make multiple, identical posts. This is viewed as spam and will be deleted.
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Post Reply