Jump to content

Date system vars and/or formats


Xathros

Recommended Posts

Posted

Now that we have the ability to code HTML or XML notifications, it would be nice to be able to use date and time information within those outputs to point to files or pass data to other systems.

 

Currently, I am trying to link to a log file that is named based on the date it was created. The only format I can get the date from the ISY in is: YYYY/MN/DD. The "/" is a problem for me.

 

Would it be possible to add a few more date/time selections to the system mvar list as follows:

 

YYYYMNDD (Raw Date)

YYYYMNDDHHMMSS (Raw DateTime)

 

The above not necessary if the following are available:

 

YYYY (Year)

MN (Month)

DD (Day)

HH (Hour in 24Hr format)

MM (Minute)

SS (Second)

 

And for pretty output maybe:

 

CMonth (Month Name Long)

CMon (Month Name Abr.)

DOW (Day of Week Abr.)

Day (Day of Week Long)

 

Thanks for your consideration.

 

-Xathros

Posted

Thank you.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...