Epoch converter ?
vincen
Junior Member
Did I miss something or we have none function in Netlnix language to convert from epoch to human time and back ?*Very strange considering all NetLinx controllers run on Unix/Linux systems 
Vincèn
Vincèn
Comments
-
Did I miss something or we have none function in Netlnix language to convert from epoch to human time and back ?*Very strange considering all NetLinx controllers run on Unix/Linux systems

Vincèn
Actually they run on VXWorks, and the new controllers are some Linux variation. There is no function to do what you are trying to do. You would have to write your own converter or ask the internet.
Paul -
Sad*AMX*didn't think to add the feature but no big deal as it looks conversion from Epoch to human is pretty simpleThere is no function to do what you are trying to do. You would have to write your own converter or ask the internet.
lot easier than I expected
-
Did you ever get an epoch converter written ? Doesn't look too simple to me, unless you feel like wasting a whole day writing and testing for a simple conversion. Maybe I'm running scared when I shouldn't be, was it easy ? Do you have tips or code to share ?
-
Did you ever get an epoch converter written ? Doesn't look too simple to me, unless you feel like wasting a whole day writing and testing for a simple conversion. Maybe I'm running scared when I shouldn't be, was it easy ? Do you have tips or code to share ?
vincen hasn't posted here in a long time. -
He last logged in here on 11.28-2017. Four months isn't TOOOOOO long....
-
Yeah, that?s not so bad. His last post was a year before that and back in the good old days he was a regular participating member like so many others including myself. There?s probablly a lot of folks who poke their heads in from time to time for old time sakes just to see how the old girl is doing.He last logged in here on 11.28-2017. Four months isn't TOOOOOO long....
-
Ok, for anyone searching epoch times like I was. Here's a good link to some info/algorithms on the subject.
https://stackoverflow.com/questions/7960318/math-to-convert-seconds-since-1970-into-date-and-vice-versa
I still find useful stuff in here, regardless of age (my age, age of post etc...)
:P
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums
