Skip to content
This repository has been archived by the owner on Feb 2, 2018. It is now read-only.

date literals

Ross Knudsen edited this page Jul 20, 2015 · 1 revision

Date Literal Rewrite discussion

When you enter a date literal into the VBE, it will (if necessary) convert it to a standard format. This format is similar to the following options:

  • #MM\dd\YYYY#
  • #hh:mm:ss AM#
  • #MM\dd\YYYY hh:mm:ss AM#

The specification allows for a wider range of options for expressing date and time literals but these alternatives are always converted to the above formats.

The question is, as always, what formats should be permitted by this grammar? Should we allow only the VBE rewritten options, or should we follow the specification?

Clone this wiki locally