How to read date(time()) ?

Discussion in 'PHP' started by readezarchive, Aug 29, 2014.

  1. #1
    Hello I have dates stored in a database as date(time()) with an output of 1409250536 for example. Does anyone know how to convert that to a readable date like August 20, 2014?

    Thank you in advance!
     
    Solved! View solution.
    readezarchive, Aug 29, 2014 IP
  2. #2
    ye, use the getdate() function - http://php.net/manual/en/function.getdate.php
     
    donjajo, Aug 29, 2014 IP
  3. readezarchive

    readezarchive Active Member

    Messages:
    600
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    80
    #3
    Works great thanks!
     
    readezarchive, Aug 29, 2014 IP