Best way to convert Apachelog Datetime 01/Jan/2016:02:25:10 -> 2016-01-01 02:25:10 MySQL-Datetime Format

Martin Tschierschke via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 8 03:42:19 PDT 2016


I know there are easy ways to handle this,
anyone with a code snippet for me?

I would use two regex first to make 01,02,03... from Jan,Feb,.. 
and
second to split the result.

best regards mt.


More information about the Digitalmars-d-learn mailing list