Datetime

package python.lib.datetime

Available on python

Static variables

staticmax:Datetime

staticmin:Datetime

staticresolution:Timedelta

Static methods

staticfromordinal(ordinal:Int):Datetime

staticfromtimestamp(timestamp:Float, ?tzInfo:Tzinfo):Datetime

staticnow(?tzinfo:Tzinfo):Datetime

statictoday():Datetime

staticutcfromtimestamp(timestamp:Int):Datetime

staticutcnow():Datetime

Constructor

new(year:Int, month:Int, day:Int, hour:Int = 0, minute:Int = 0, second:Int = 0, microsecond:Int = 0, ?tzinfo:Tzinfo)

Variables

day:Int

hour:Int

microsecond:Int

minute:Int

month:Int

second:Int

tzinfo:Tzinfo

year:Int

Methods

astimezone(?tz:Tzinfo):Datetime

isoweekday():Int

replace(kwargs:KwArgs<{year:Null<Int>, tzinfo:Null<Tzinfo>, second:Null<Int>, month:Null<Int>, minute:Null<Int>, microsecond:Null<Int>, hour:Null<Int>, day:Null<Int>}>):Datetime

strftime(format:String):String

timestamp():Float

timetuple():StructTime

utcoffset():Int

weekday():Int

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/python/lib/datetime/Datetime.html