wordpress:  Correct timestamp calculation