nn::phtsel::CTR::DateTimeConvert

nn::phtsel::CTR::DateTimeConvert Structure

Syntax

struct DateTimeConvert
{
   s64 seconds;
};

Description

Structure for elapsed time in seconds.

Handles date and time in terms of seconds, counting from 2000/01/01 00:00:00.

Member Variables

seconds s64 Elapsed seconds.

Member Functions

S GetMinSeconds Gets the minimum value that can be set for elapsed seconds.
S GetMaxSeconds Gets the maximum value that can be set for elapsed seconds.
GetSeconds Gets the elapsed seconds.
SetSeconds Sets elapsed seconds.
ConvertToParam Gets the elapsed seconds in the form of a year/month/day/hour/minute/second value.
ConvertFromParam Sets elapsed seconds by giving a year/month/day/hour/minute/second value.
ConvertToNNDateTime Gets elapsed seconds as an nn::fnd::DateTime value.
ConvertFromNNDateTime Sets elapsed seconds by giving an nn::fnd::DateTime value.

Revision History

2011/08/24
Initial version.

CONFIDENTIAL