use server time instead of db time in case db is hosted separately.