Jump to content

php time displays funny.


bmaid

Recommended Posts

I am not a programmer. But I am seeing this code:

Is this the one you are asking?

 

$dates = array();

for ($cur_time_entry = mktime(0, 0, 0, date('m', $first_time_entry), date('d', $first_time_entry), date('Y', $first_time_entry));

$cur_time_entry <= $last_time_entry; $cur_time_entry += $day_time)

$dates[] = mktime(0, 0, 0, date('m', $cur_time_entry), date('d', $cur_time_entry), date('Y', $cur_time_entry));

$smarty->assign('dates', $dates);

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.