Agnus Dei (jackal) wrote,
Agnus Dei
jackal

How to convert Apache TimeStamp to MySQL TimeStamp format

# date -d "$(printf '25/Feb/2013:13:56:11\n' | sed -e 's,/,-,g' -e 's,:, ,')" '+%F %T'
2013-02-25 13:56:11
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 0 comments