Hello,
I am trying to convert the default time stamp for my events to epoch time, but for that it seems that I have to concatenate date_month, date_year, date_mday, date_hour etc... to a single string and then use the strptime function:
eval t=date_month+","+date_mday+","+date_year+" " +date_hour+":"+date_minute+":"+date_second
and then pipe it to:
eval d=strptime(t,"%b,%d,%Y %H:%M:%S")
is there an easier or faster way to do that?
Indeed there is a simpler way. Try:
eval t=_time
Thank you very much!