Beginner PHP Tutorial – 58 – timestamps

Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –






23 responses to “Beginner PHP Tutorial – 58 – timestamps”

  1. NikAce Avatar

    "Oh sorry thats a small asss" 4:05

  2. Andrew Guo Avatar

    For those used to 12-hour clock formats, you replace'H:i:s' with 'g:i:s A'.

    $actual_time = date('g:i:s A');
    echo 'The current time is '.$actual_time;

  3. Grcvgc Vcbh Avatar

    PHP/LARAVEL VS C#/ASP.NET which one jas brighter future and better jobvopportunity

  4. Guram Kankava Avatar

    Thank you very much. very good videos.

  5. Steven Garcia Avatar

    Great stuff, thank you for the effort!

  6. Rose Sivana Wolfe Avatar

    $actual_time = date('H:i:s');
    echo 'The time is '.$actual_time;

    There is no need for the $time variable.
    Also find the list of supported time zones here :
    ..and just insert your time zone in the date_default_timezone_set function

  7. V. Peters Avatar

    This is the first video i can't really get it to work like you have there mate… you should extent information i think.. there is more involved in this subject then you show, i guess…

  8. V. Peters Avatar

    Warning: date(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in D:wampwwwyoutube learn thenewbostonles58TimeStamps.php on line 4 Call Stack: 0.0036 324072 1. {main}() D:wampwwwyoutube learn thenewbostonles58TimeStamps.php:0 0.0037 324232 2. date() D:wampwwwyoutube learn thenewbostonles58TimeStamps.php:4 The current time is 11:40:23

  9. Arkadiusz Jan Dylewski Avatar

    "time" Is not necessary to use, you could just write date(H:i:s).

  10. Paul Kane Avatar

    This was done roughly on the 9th of March 2011 at 5:55pm? 🙂 

Leave a Reply

Your email address will not be published. Required fields are marked *