using server time instead local time