Convert DateTime to Unix TIme

View thread

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