replaced PHP date() with static ones