HaxeAPI
  • Version 4.2.0
    • 3.4.7
    • 4.0.5
    • 4.1.3
    • 4.2.5
    • 4.3.1
    • Development
  • Download Haxe
  • Learn Haxe
    • Introduction
    • Manual
    • Code Cookbook
    • API Documentation
    • Videos
    • Try Haxe online
    • Haxelib
  • Connect
    • Github
    • Bug reports
    • Stack Overflow
    • Forums
    • Discord
    • Gitter
    • Blog
    • Facebook
    • #haxe
    • @haxelang
    • @haxe_org
    • Contact
View source

class DateInterval

package php

@:native("DateInterval")

Available on php

See also:

  • https://www.php.net/manual/en/class.dateinterval.php

Static methods

staticcreateFromDateString(datetime:String):DateInterval

Constructor

new(duration:String)

Variables

d:Int

days:EitherType<Int, Bool>

f:Float

h:Int

i:Int

invert:Int

m:Int

s:Int

y:Int

Methods

format(format:String):String

This documentation is generated for version 4.2.0

© 2024  Haxe Foundation | Contribute to Haxe