Siebel VB Language Reference > Methods Reference for Siebel VB > Date and Time Methods >

Get Current Date Method


The Get Current Date method returns a ten character string that includes the current date as determined by the computer clock.

Format

Date[$]

For information about the dollar sign, see Usage of the Dollar Sign.

This method does not include arguments.

Example

The following example displays the date for one week from the current computer date:

Sub Button_Click
   Dim nextweek
   nextweek = CVar(Date) + 7
End Sub

Siebel VB Language Reference Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.