Jump to content

Kexi/Plugins/Queries/SQL Constants: Difference between revisions

From KDE Community Wiki
Jstaniek (talk | contribs)
Created page with "== Date constants == (since 3.1.1, {{Bug|393094}})"
 
Jstaniek (talk | contribs)
Line 2: Line 2:


(since 3.1.1, {{Bug|393094}})
(since 3.1.1, {{Bug|393094}})
Grammar - two versions:
- ISO format
#{whitespace}*yyyy-mm-dd{whitespace}*#
- US format (nased on MSA [https://msdn.microsoft.com/en-us/library/bb221200(v=office.12).aspx])
#{whitespace}*mm/dd/yyyy{whitespace}*#
== Time constants ==
Grammar - two versions:
- Full
#{whitespace}*hh:nn:ss*#
- Short
#{whitespace}*hh:nn*#
== Date/Time constants ==
(since 3.1.1, {{Bug|393094}})
Grammar:
#{whitespace}*{date}{whitespace}+{time}#
Where {date} is defined as for Date literals and time is defined as for Time literals.

Revision as of 22:54, 14 April 2018

Date constants

(since 3.1.1, Bug #393094)

Grammar - two versions: - ISO format

#{whitespace}*yyyy-mm-dd{whitespace}*#

- US format (nased on MSA [1])

#{whitespace}*mm/dd/yyyy{whitespace}*#

Time constants

Grammar - two versions: - Full

#{whitespace}*hh:nn:ss*#

- Short

#{whitespace}*hh:nn*#

Date/Time constants

(since 3.1.1, Bug #393094)

Grammar:

#{whitespace}*{date}{whitespace}+{time}#

Where {date} is defined as for Date literals and time is defined as for Time literals.