RealWorldYear

Syntax

RealWorldYear

Description

Returns the year from the computer's clock.

Examples

RealWorldYear = 24 on August 15, 2024
RealWorldYear = 25 on December 31, 2025

If((WaterMonthToCalendarMonth <= RealWorldMonth) And (WaterYearToCalendarYear <= RealWorldYear)), ReadFromFile(ReservoirHistoricalData.csv), Central Reservoir:Storage Volume)             ; Read data from historical data csv file for all months up to and including current real world month, but use simulated data afterwards.