2responses toreno93 Hello, I have question. My variable $EventTime contains DateTime in only this format "2017-12-30 01:30:00" How me with use NxLog, convert to UNIX TIME format or convert to this format Dec 30 01:30:00. Thank Unix Time, AskedFebruary 18, 2017 - 12:44pm Answer the question Leave a comment
b0ti You can use the strftime() function. AnsweredFebruary 18, 2017 - 9:32pm Leave a comment Comments (1) toreno93 Leave a comment Ok, I used this function. Exec $orig_dt = strftime($orig_dt, '%m %d %H:%M:%S'); and i get month current locale. But me need locale en_US. How I set locale in NxLog? Thank February 20, 2017 - 9:08am
Comments (1)
Ok, I used this function.
Exec $orig_dt = strftime($orig_dt, '%m %d %H:%M:%S'); and i get month current locale. But me need locale en_US. How I set locale in NxLog?
Thank