Difference between revisions of "Kexi/Plugins/Queries/SQL Constants"

< Kexi‎ | Plugins‎ | Queries
Jump to: navigation, search
(Date constants)
(Time constants)
Line 14: Line 14:
  
 
Grammar - two versions:
 
Grammar - two versions:
- Full
+
* Full
 
  #{whitespace}*hh:nn:ss*#
 
  #{whitespace}*hh:nn:ss*#
- Short
+
* Short
 
  #{whitespace}*hh:nn*#
 
  #{whitespace}*hh:nn*#
  

Revision as of 15:23, 15 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.


Content is available under Creative Commons License SA 4.0 unless otherwise noted.