
C-1
Appendix C. Using Time Stamps
At the time of release of this document, the CRx000 series of data loggers do
not support variables of a “date” type. Dates are currently recorded in a long
integer as the number of seconds that have elapsed since 1/1/1990 00:00:00.
The DataView II is capable of displaying these values in Gregorian Date
format (i.e., Day, Month, Year, etc.) in a number of different representations.
Below is an example CR1000 program to record a timestamp for display on a
CD295:
Public Time as Long
BeginProg
Scan (1,Sec,0,0)
Time = Public.TimeStamp(1,1)
NextScan
EndProg
In this case, when creating the DataView program in
PC295W
for this variable,
the user should select one of the date representations instead of
Numeric
Value
as per the screenshot below:
In this case, the DataView II would display the time as below:
Timestamp
24/01/2007 9:34
Please note:
If this value is displayed using
Numeric Value
, the DataView II
would show something like this:
Timestamp
538479240
Содержание DataView II
Страница 1: ...DataView II CD295 Dual Line Display Revision 12 2021 Copyright 2005 2021 Campbell Scientific Inc ...
Страница 25: ...A 1 Appendix A CD295 Door Kit Assembly Diagram ...
Страница 26: ...DataView II CD295 Dual Line Display A 2 ...
Страница 27: ...B 1 Appendix B CD295 Mounting Template NOT TO SCALE REFER TO MOUNTING TEMPLATE SUPPLIED WITH CD295 ...