Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






CreateDateTime method

Given a string that represents the date and time you want, creates a new NotesDateTime object that represents that date and time. When used with OLE automation, this method allows you to create a NotesDateTime object without using New.

Defined in

NotesSession

Syntax

Set notesDateTime = notesSession.CreateDateTime( dateTime$ )

Parameters

dateTime$

String. The date and time you want the object to represent. If you use an empty string (""), the date is set to a wildcard date. The Notes date-time expressions "Today," "Tomorrow" and "Yesterday" are supported.

Return value

notesDateTime

The newly created date-time.

Usage

For more information on acceptable formats for the dateTime$ parameter, see the NotesDateTime class.

Language cross-reference

createDateTime method in Java Session class

See examples

Examples: CreateDateTime method
Related topics
Converting between Domino Designer and LotusScript time




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009