cufflinks.date_tools module¶
-
cufflinks.date_tools.
dateToInt
(date, strfmt='%Y%m%d')[source]¶ Converts a datetime date into int Parameters: ———–
- date : datetime
- date in datetime format
- strfmt : string
- format in which the int date will be generated
- Example:
- dateToInt(dt.date(2015,10,23),’%Y’)
-
cufflinks.date_tools.
getDateFromToday
(delta, strfmt='%Y%m%d')[source]¶ Returns a string that represents a date n numbers of days from today. Parameters: ———–
- delta : int
- number of days
- strfmt : string
- format in which the date will be represented
-
cufflinks.date_tools.
intToDate
(intDate)[source]¶ Converts an int format date into datetime Parameters: ———–
- intDate : int
- date in int format
- Example:
- intDate(20151023)