GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.voltdb.com — DAYOFYEAR() Using VoltDBDAYOFYEAR()DAYOFYEAR() — Returns the day of the year as an integer between 1 and 366. SynopsisDAYOFYEAR( timestamp-value ) DescriptionThe DAYOFYEAR() function returns an integer value between 1 and 366 representing the day of the year of a timestamp value. This function produces the same result as using the DAY_OF_YEAR keyword with the EXTRACT() function. ExamplesThe following example uses the DAYOFYEAR() function to determine the number of days until an event occurs. SELECT DECODE(YEAR(NOW), YEAR(starttime),
CAST(DAYOFYEAR(starttime) - DAYOFYEAR(NOW) AS VARCHAR)
|| ' days remaining',
CAST(YEAR(starttime) - YEAR(NOW) AS VARCHAR)
|| ' years remaining'),
eventname FROM event; |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |