![]() Parameters:Ĭlassmethod strptime ( date_str, fmt, tzinfo=None ) ¶Ĭonstructs an Arrow object from a date string and format, Defaults to UTC.Ĭlassmethod fromdate ( date, tzinfo=None ) ¶Ĭonstructs an Arrow object from a date and optional ![]() Timestamp – an int or float timestamp, or a str that converts to either.Ĭlassmethod fromdatetime ( dt, tzinfo=None ) ¶Ĭonstructs an Arrow object from a datetime and optional Defaults to local time.Ĭlassmethod utcfromtimestamp ( timestamp ) ¶Ĭonstructs an Arrow object from a timestamp, in UTC time. timestamp – an int or float timestamp, or a str that converts to either.classmethod fromtimestamp ( timestamp, tzinfo=None ) ¶Ĭonstructs an Arrow object from a timestamp. Defaults to local time.Ĭonstructs an Arrow object, representing “now” in UTC Arrow ( 2013, 5, 5, 12, 30, 45 ) classmethod now ( tzinfo=None ) ¶Ĭonstructs an Arrow object, representing “now”.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |