LibreOffice Module connectivity (master) 1
Protected Member Functions | List of all members
connectivity::file::OOp_CurDate Class Reference

CURDATE() CURRENT_DATE Returns today's date as a value in 'YYYY-MM-DD' or YYYYMMDD format, depending on whether the function is used in a string or numeric context: More...

#include <FDateFunctions.hxx>

Inheritance diagram for connectivity::file::OOp_CurDate:
[legend]
Collaboration diagram for connectivity::file::OOp_CurDate:
[legend]

Protected Member Functions

virtual ORowSetValue operate (const std::vector< ORowSetValue > &lhs) const override
 
virtual ORowSetValue operate (const std::vector< ORowSetValue > &lhs) const =0
 

Additional Inherited Members

- Public Member Functions inherited from connectivity::file::ONthOperator
virtual void Exec (OCodeStack &) override
 
virtual void Exec (OCodeStack &)=0
 
- Public Member Functions inherited from connectivity::file::OCode
virtual ~OCode ()
 
 OCode (OCode &&)=default
 
 OCode (const OCode &)=default
 
 OCode ()=default
 
OCodeoperator= (const OCode &)=default
 
OCodeoperator= (OCode &&)=default
 

Detailed Description

CURDATE() CURRENT_DATE Returns today's date as a value in 'YYYY-MM-DD' or YYYYMMDD format, depending on whether the function is used in a string or numeric context:

‍SELECT CURDATE(); -> '1997-12-15'

Definition at line 195 of file FDateFunctions.hxx.

Member Function Documentation

◆ operate()

ORowSetValue OOp_CurDate::operate ( const std::vector< ORowSetValue > &  lhs) const
overrideprotectedvirtual

Implements connectivity::file::ONthOperator.

Definition at line 251 of file FDateFunctions.cxx.

References Date::GetUNODate(), and Date::SYSTEM.


The documentation for this class was generated from the following files: