interesting numbers

How to use phpmyadmin.... phpmyadmin related arguments. Even phpMyAdmin issues

Moderators: macek, egami, gesf

Post Reply
User avatar
egami
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: interesting numbers

Post by egami » Thu Feb 17, 2011 12:03 pm

This is seconds since Jan 1, 12:01:01 1970.

So, if you want to know how many minutes it would be..

time / 60;

Hours would be

(time / 60) / 60;

and so forth.

If this doesn't make sense, let me know.

But you can calculate the time pretty easily.. or make php do it for you..

date('m/d/Y G:i',$row['fieldname'])

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests