YYYYDDD_datecode¶
-
DatesTimes.
YYYYDDD_datecode
(year, midfix, doy)¶ Format the datecode pattern used in many log files.
The results consists of a year and doy separated by a string. ‘year’ is assumed to be a four digit integer but a two digit one should work. ‘doy’ does NOT have leading zeros, that is, it’s a normal integer.
:param year : four digit year :type year : int
:param midfix : :type midfix : str
:param doy : day of year without leading zero(s) :type doy : int
- Returns
str