cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
380
Views
1
Helpful
2
Replies

EEM: What is the time refernce for $_event_pub_sec

6502
Level 1
Level 1

The built-in $_event_pub_sec is defined as "The time, in seconds, at which the event was published to the EEM." based on this reference.  My question is, what is "T(0) for this value...number of seconds since WHEN?  How would I convert a current date/time to this reference frame?

2 Accepted Solutions

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

6502
Level 1
Level 1

Thanks, @balaji.bandi! So based on that, the reference for $_event_pub_sec is EPOCH/POSIX time, or the time since 1 January 1970. The following table from epochtimeconverter.com is helpful in this regard:

AF767655-0A5F-4C93-BBF8-3EFC353A12A4.jpeg

View solution in original post

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

check some reference :

https://github.com/leonmflai/Cisco-EEM-Auto-Export

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

6502
Level 1
Level 1

Thanks, @balaji.bandi! So based on that, the reference for $_event_pub_sec is EPOCH/POSIX time, or the time since 1 January 1970. The following table from epochtimeconverter.com is helpful in this regard:

AF767655-0A5F-4C93-BBF8-3EFC353A12A4.jpeg