Date problem

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
chris12295
Forum Contributor
Posts: 113
Joined: Sun Jun 09, 2002 10:28 pm
Location: USA
Contact:

Date problem

Post by chris12295 »

Does anyone know how to change a unix timestamp to a regular date?
Im guessing its gonna have to be some kind of equasion b/c I have not found any kind of function.
User avatar
protokol
Forum Contributor
Posts: 353
Joined: Fri Jun 21, 2002 7:00 pm
Location: Cleveland, OH
Contact:

Post by protokol »

http://www.php.net/manual/en/function.time.php

Look at the user-contributed notes. Someone wrote a function that does what you want.
chris12295
Forum Contributor
Posts: 113
Joined: Sun Jun 09, 2002 10:28 pm
Location: USA
Contact:

Post by chris12295 »

the date() function achieved what i needed, thanks though
Post Reply