Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Time Stamps


IslandMan Sep 29, 2008 05:23 PM

In Edlog programming, you had the option of midnight being 00:00:00 hours or 24:00:00 hours. Hence, a daily summary at midnight had that day's time stamp (if memory serves) and 24:00:00 indicating midnight.
A Daily output with CRBasic has the time as 00:00:00 and the date is advanced to the next day. (I don't use RTime, just the standard file time in the output)
Does CRBasic have the same functionality tucked away somewhere?

Thanks,
Dave


Dana Sep 29, 2008 07:57 PM

Hi Dave,

There is no way to change the midnight format that comes from the table-based dataloggers.

You can use Split to convert a table-based datalogger timestamp into one that looks like a mixed array time stamp. Check the information in the Split help under "no date advance" and also the "hourarray" format that can be used with the date() function. More recent versions of LoggerNet also have a File Output Option (Setup screen, Data Files tab) that will store the file to look like a mixed array file. However, a complete mixed array data string is probably not your goal :)

Regards,

Dana


IslandMan Sep 30, 2008 09:31 AM

Hi Dana,

Thanks for the info, I'll give it a try.

Regards,
Dave


ChipsNSalsa Sep 30, 2008 03:41 PM

Some users that want their daily summary data time stamped with the day it occurred on output their daily summaries at 23:59:59.


IslandMan Sep 30, 2008 04:42 PM

No Date Advance works just great.

Thanks,
Dave


Notso Nov 22, 2019 10:00 PM

In the LoggerNet setup screen, if you highlight a datalogger and go to the Data Files tab, there is a browse box next to the Output Format drop-down menu. Select that browse box (the square with 3 dots in it) and you get a window called Output File Options. There is a check box there called Midnight is 2400. That check box is clear by default, but if you check it then that table will put a time stamp of the current date and 2400 at midnight.That keeps the date in the time stamp of a 24 hour table from being one day ahead of the day that the measurements were made.   

Log in or register to post/reply in the forum.