Jump to content

calculate between time


jeeva

Recommended Posts

int mktime ( [int hour [, int minute [, int second [, int month [, int day [, int year [, int is_dst]]]]]]] )

 

this function returns tunix_timestamp. Create timestamps of the two dates and subtract them and you have another timestamp.

 

You should divide it by 3600 to get minutes and 86400 to get hours.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.