2.18.1 Date and Time
You can call the nn::fnd::DateTime::GetNow function to get the current date and time, but note that the date and time can be freely modified in System Settings. It is therefore possible that the application may start up at an earlier timestamp than the last time the application was played. As such, take steps to prevent bugs from occurring if the system time is turned back. If your specifications call for a special event to occur on January 1st, for example, you must keep in mind that user operations could cause 'January 1st' to arrive more than once for the same year. This problem may also occur when users swap Game Cards.
2.18.1.1 Handling Past Dates
Guideline Item |
Applications must continue operating properly even if the clock is set back. |
---|---|
Software to Be Tested |
Applications that create save data or extra data, and which reference the system's date and time settings. |
Test Method |
|
Pass/Fail Determination |
Passes if the application can be played without any problems in step 5. |