nn::fnd::DateTime::DateToDays Member Function#include <nn/fnd.h>
static s32 DateToDays(
s32 year,
s32 month,
s32 day
);
| Name | Description | |
|---|---|---|
| in | year | Specifies the year. |
| in | month | Specifies the month. |
| in | day | Specifies the date. |
Calculates the number of days elapsed from 2000/01/01 until the given date.
Be sure to specify a valid date. The results are indeterminate if an invalid date is specified. You can use IsValidDate to check whether the specified date is valid.
CONFIDENTIAL