Print Friendly and PDF

Day, Month, and Year from Date

Ryan Roper -

This model uses a Script element to calculate various components of a date from a given date time or date only output. The outputs of the Script include Year, Month, Day, Julian Day, Hour, Minute, and Second. The Julian Day (GetYMD) is the number of days since midnight on 30 December 1899. 'TheDate' is defined as the current clock time on your computer but you could replace this with any date or datetime output like "StartTime" or a date string in double quotes (e.g. "Dec/04/2014).

Experience Level:

Novice

Download the Model File:

Tags:

  • script
  • time
  • date
  • julian
Have more questions? Submit a request

Comments