Navigation:  Module 1 - Energy Accounting > Accounts & Invoices Tab > User Defined Components > Functions >

Date

Previous page Next page
  rev. 2011-02-09        

Date

Description:

Creates an object representing a specific date.

Syntax:

Date(year, month, day)

Type:

DateTime

Arguments:

Argument

Type

Description

year

Numeric

The year.

month

Numeric

The month (1 to 12).

day

Numeric

The day of the month.

Returns:

A DateTime object representing the specified date.

Examples:

To create a date representing Jan 20 2009.

Expression

Result

Date(2009,1,20)

1/20/2009 12:00:00 AM



S2_Date_Function         ©2014 Managing Energy Inc.