nn::fnd::DateTime::FromParameters Member Function

Syntax

#include <nn/fnd.h>

static DateTime FromParameters(
     const DateTimeParameters & dateTimeParameters
);

Parameters

Name Description
in dateTimeParameters Specifies a DateTimeParameters object.

Return Values

Returns a DateTime object set to the specified date and time.

Description

Generates a DateTime object from a year, month, day, hour, minute, and second value.

The day of the week is ignored if specified using the DateTimeParameters argument.

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.

Revision History

2010/02/18
Initial version.

CONFIDENTIAL