Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Needs Review
Workspace Domino Designer
Categories LotusScript
Created by Guest
Created on Aug 24, 2023

Ability to create Date/Time item with only date information in LotusScript

When a Notes client opens a form and saves a date field that does not display a time, a date-only date item is created that has no time or time zone information. This item information can be found in the value of the document property.

LotusScript requires the use of Cdat to create date items. However, Cdat cannot create date items with only date information, but with "00:00:00" and time zone information.

LotusScript and forms have different information, and the ability to create date items with only date information from LotusScript is requested.


  • Attach files
  • Guest
    Reply
    |
    Oct 23, 2023

    If you use CDat, or numbers, it's only for very simple work with date and time. As already written here, if you want to take better advantage of Time/Date fields, you need to use NotesDateTime class or even NotesDateRange.

  • Guest
    Reply
    |
    Sep 11, 2023

    This is possible

    Create a notestimedate object and when the Date object is created use the function SetAnyTime. Now do replaceitemvalue and the time is gone.