Describe, what you observe or want to be changed:
We're lacking a function for easily getting the current date. It is possible to get the current time-point via time(), and you can also extract single values using the date() function, but it's hard to use date() to replicate something like today().
Describe, what you expect to happen:
Provide a function today(), which will return the current date as date-time value, just if the user had used as_date() and typed out the corresponding numbers.
DEVS' SECTION
ANALYSIS
Kind of self-explanatory feature. Just convert the current time to a time stamp instance, set hours and smaller to zero and convert that back to a sys_time_point.
DESCRIPTION
Describe, what you observe or want to be changed: We're lacking a function for easily getting the current date. It is possible to get the current time-point via
time()
, and you can also extract single values using thedate()
function, but it's hard to usedate()
to replicate something liketoday()
.Describe, what you expect to happen: Provide a function
today()
, which will return the current date as date-time value, just if the user had usedas_date()
and typed out the corresponding numbers.DEVS' SECTION
ANALYSIS
Kind of self-explanatory feature. Just convert the current time to a time stamp instance, set hours and smaller to zero and convert that back to a
sys_time_point
.IMPLEMENTATION STEPS
(see also our Wiki for implementation guidelines)
DOCUMENTATION STEPS
(see also our Wiki for further information)
*.NHLP
and*.NDB
files, if needed)*.NLNG
files, if needed)PULL REQUEST