BuildSysPro.Utilities.Time.MonthYear

# .BuildSysPro.Utilities.Time.MonthYear

Month of the year at time t (year supposed to be not bisextile)

## Information

Hypothesis and equations

Function computing the month of the year according to (t0 + t) given in seconds.

The year is supposed to be not bisextile.

t : calculation moment in seconds

t0: elapsed time in second since January 1st at t=0s of the simulation

As output, the function calculates the month of the year at (to + t), elapsed time in seconds since 01/01 00:00:00.

Bibliography

none

Instructions for use

none

Known limits / Use precautions

none

Validations

Validated function - Hassan BOUIA 03/2013

--------------------------------------------------------------
Licensed by EDF under a 3-clause BSD-license
Copyright © EDF 2009 - 2023
BuildSysPro version 3.6.0
Author : Hassan BOUIA, EDF (2013)
--------------------------------------------------------------

#### Interface

>     function MonthYear
>       input Real t0 = 0 "Time in seconds at t=0";
>       input Real t "Elapsed time since t=0 [s]";
>       output Integer MA "Month of the year";
>     end MonthYear;

## Revisions

Hassan BOUIA 03/2013 - Mise à jour des fonctions de temps en remplacement des anciennes (optimisation temps calcul)

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos