rbv_api.getCurrentDate()

Purpose

Returns a string corresponding to the current date, relative to the current user's time zone. Use new Date() to create a new instance of a JavaScript Date.

Syntax

rbv_api.getCurrentDate()

Return value

Current date as a string

Example

Gets the current date in the current user time zone.

var currentDate = rbv_api.getCurrentDate(); rbv_api.println(currentDate);