Thanks for the tip, although I'm getting an error with your code in 
0.4.0-dev
Any idea why?

using Base.Dates 
ds = "2015-08-12 12:01:23 PM" 
DateTime(ds, DateFormat("yyyy-mm-dd HH:MM:SS")) - (contains(ds, "AM") ? Hour
(12) : Hour(0))  


LoadError: ArgumentError: Non-digit character encountered
while loading In[51], in expression starting on line 3

 in getslot at dates/io.jl:110
 in parse at dates/io.jl:122
 in call at dates/io.jl:164

Reply via email to