So you can obtain the time in UNIX timestramp (seconds since Jan 01 1970) using: time() or strtotime("now"). Then the date() function will convert it into a human readable format as per the format parameter. Edit: 1000 posts!