RealTimeClock

Top  Previous  Next

CIRCON~1_img408

Outputs the current time of the controller, with the same information as the network variable nvoDateTime in the RealTimeKeeper LonMark object.

 

Outputs


 

Slots

Type

Description

 

Year

Integer

The current year (2011, 2012, 2013 …). A value of -1 indicates that the time is not currently valid, that is: the time was not set, or was lost.

 

Month

Integer

The current month (1…12)

 

Day

Integer

The current day of the month (1..31)

 

Hour

Integer

The current hour (0…23)

 

Minute

Integer

The current minute (0…59)

 

Second

Integer

The current second (0…59)

 

DayOfWeek

Integer

The current day of the week, compatible with SNVT_date_day

0: DAY_SUN

1: DAY_MON

2: DAY_TUE

3: DAY_WED

4: DAY_THU

5: DAY_FRI

6: DAY_SAT

 

 

 

 

 

Also see:

RealTimeClock Tasks