how to convert "14/07/07 03:56" this format to number of seconds

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kang jia
    New Member
    • Jun 2007
    • 88

    how to convert "14/07/07 03:56" this format to number of seconds

    hi

    i would like to convert this kind of date format "14/07/07 03:56" into number of seconds, thus when comparing with current time() ,i can know the age of time.

    anyone can help me , thanks
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, Kang.

    Check out strtotime().

    Comment

    Working...