php - How to check hours in timestamp is in between a particular range of hours? -


possible duplicate:
how convert unix timestamp hhmmss?

i have timestamp in format of:

1330559989 

how check hours in timestamp in between 6 hours , 23 hours?

can me please?

date('h', 1330559989) give hours in 24h format leading zero, in example: 23.

there specific function hour of timestamp called getdate offers array interface information (demo):

getdate(1330559989)['hours']; # 23 

Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -