Property | Type | Description | |
---|---|---|---|
_ctx | Context |
Property | Type | Description | |
---|---|---|---|
StrToTime | System.DateTime |
Method | Description | |
---|---|---|
DateTime ( Context ctx ) : Pchp.Core | ||
DateTime ( Context ctx, string time ) : Pchp.Core | ||
DateTime ( Context ctx, string time, DateTimeZone, timezone ) : Pchp.Core | ||
createFromFormat ( Context ctx, string format, string time, DateTimeZone, timezone = null ) : object | ||
format ( string format ) : object | ||
getOffset ( ) : int | ||
getTimestamp ( ) : int | ||
modify ( string modify ) : global::DateTime | ||
setDate ( int year, int month, int day ) : object | ||
setTime ( int hour, int minute, int second ) : object | ||
setTimeZone ( DateTimeZone, timezone ) : object |
Method | Description | |
---|---|---|
StrToTime ( string timestr, System.DateTime time ) : System.DateTime |
public DateTime ( Context ctx, string time ) : Pchp.Core | ||
ctx | Context | |
time | string | |
return | Pchp.Core |
public DateTime ( Context ctx, string time, DateTimeZone, timezone ) : Pchp.Core | ||
ctx | Context | |
time | string | |
timezone | DateTimeZone, | |
return | Pchp.Core |
public static createFromFormat ( Context ctx, string format, string time, DateTimeZone, timezone = null ) : object | ||
ctx | Context | |
format | string | |
time | string | |
timezone | DateTimeZone, | |
return | object |
public modify ( string modify ) : global::DateTime | ||
modify | string | |
return | global::DateTime |
public setDate ( int year, int month, int day ) : object | ||
year | int | |
month | int | |
day | int | |
return | object |
public setTime ( int hour, int minute, int second ) : object | ||
hour | int | |
minute | int | |
second | int | |
return | object |
public setTimeZone ( DateTimeZone, timezone ) : object | ||
timezone | DateTimeZone, | |
return | object |