Get the seconds between two times

Added by iNTERFACEWARE

Use os.ts.difftime() to get the time in seconds between two time, this function allows for time zones and daylight saving

Source Code
   -- Get the time in seconds betwee two two times
   -- NOTE: This function as it allows for time zones and daylight saving.
   
   -- get the difference between the current time and another time
   os.ts.difftime(os.ts.time(), os.ts.time{year=1999, month=12, day=01, hour=22})
Description
Use os.ts.difftime() to get the time in seconds between two time, this function allows for time zones and daylight saving