This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
dev:sql:functions:compare_dates [2010/04/08 20:32] els |
dev:sql:functions:compare_dates [2010/04/08 20:35] els |
||
---|---|---|---|
Line 70: | Line 70: | ||
===== Example ===== | ===== Example ===== | ||
==== Example 1 ==== | ==== Example 1 ==== | ||
+ | |||
+ | <code> | ||
+ | > select $compare_date('20090101', current_date, 'DD') from $omnidex | ||
+ | |||
+ | $COMPARE_DA | ||
+ | ----------- | ||
+ | 462 | ||
+ | </code> | ||
+ | |||
{{page>:bottom_add&nofooter&noeditbtn}} | {{page>:bottom_add&nofooter&noeditbtn}} |