support timestamp and epoch