Salesforce

MDate (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

MDate (Magic xpa 4.x)

Returns the Magic date as defined in the Magic Date environment setting.

Syntax:

MDate()

Parameters:

None

Returns:

Date

Example:

MDate()+5 returns a date that is five days later than the Magic date. The numbers added or subtracted are interpreted as numbers of days.

Exceptions:

This function is not supported for Rich Client tasks.

See also:

Date

The Online Samples project (program DT21)

Reference
Attachment 
Attachment