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).
Download the Model File: