nn::fnd::DateTime::FromParameters Member Function#include <nn/fnd.h> static DateTime FromParameters( s32 year, s32 month, s32 day, s32 hour = 0, s32 minute = 0, s32 second = 0, s32 millisecond = 0 );
| Name | Description | |
|---|---|---|
| in | year | Specifies the year.[ 1900 ... 2189] |
| in | month | Specifies the month.[ 1 ... 12 ] |
| in | day | Specifies the date.[ 1 ... 31 ] |
| in | hour | Specifies the hour.[ 0 ... 23 ] |
| in | minute | Specifies the minutes.[ 0 ... 59 ] |
| in | second | Specifies the seconds.[ 0 ... 59 ] |
| in | millisecond | Specifies the milliseconds.[ 0 ... 999 ] |
DateTime object set to the specified date and time. Generates a DateTime object from a year, month, day, hour, minute, and second value.
Specify a valid calendar date/time. The results are indeterminate if an invalid date is specified. You can use IsValidParameters to check whether the specified date/time is valid.
CONFIDENTIAL