arras-energy / gridlabd

Arras Energy simulator
https://www.arras.energy/
BSD 3-Clause "New" or "Revised" License
5 stars 5 forks source link

Add support for date/time formats in NOW pseudo-global #117

Closed dchassin closed 11 months ago

dchassin commented 11 months ago

Background

Currently ${NOW} returns a timestamp using the format %Y%m%d-%H%M%S. The ${TODAY} uses the format specified by the standard UTC format only %Y-%m-%d %H:%M:%S UTC. This provides the modeler no flexibility for using alternative formats.

Proposed solution

Add the ability to include the today in the ${NOW} pseudo-global, e.g., ${NOW FORMAT}.