Méthode | Description | |
---|---|---|
ConvertLocalDateTimeToRockDateTime ( System.DateTime localDateTime ) : System.DateTime |
Converts the local date time to rock date time. Use this to convert a local datetime (for example, the datetime of a file stored on the server) to the Rock OrgTimeZone
|
|
New ( int year, int month, int day ) : DateTime? |
Creates a new datetime based on year, month, day, and handles 2/29 for non leap years (returns 2/28 in this case)
|
public static ConvertLocalDateTimeToRockDateTime ( System.DateTime localDateTime ) : System.DateTime | ||
localDateTime | System.DateTime | The local date time. |
Résultat | System.DateTime |
public static New ( int year, int month, int day ) : DateTime? | ||
year | int | The year. |
month | int | The month. |
day | int | The day. |
Résultat | DateTime? |