0

how to convert Date time from json to php

I need help how to convert Date time from json to php

by
3 Replies
  • I'm just adding some clarifications
    the json date is in this format [receivedDate] => 1273001345

    I need help on how to get it from [receivedDate] => 1273001345

    especially that 1273001345 into our normal time ie: May 9, 2010
    0
  • QUOTE (Jean Jacques @ May 9 2010, 12:18 AM) <{POST_SNAPBACK}>
    I'm just adding some clarifications
    the json date is in this format [receivedDate] => 1273001345

    I need help on how to get it from [receivedDate] => 1273001345

    especially that 1273001345 into our normal time ie: May 9, 2010


    Here you go...

    <?
    $date = date('M j, Y', '1273001345');
    ?>
    0
  • Thanks a lot, it's working :r
    0

Recent Posts

in PHP Development