Search
Generic filters
Exact matches only
  • Get Time from Database

    26th February 2017

    MySql

    mysql codehaven category

    Just run this as your SQL

    It returns ‘2017-02-25 23:50:26’

    And this will return the timezone, so if your setting cron jobs, then check this as it will run at a different time.

    Shows -05:00:00

    Was this code snippet helpful?

    Comment on this Code Snippet?