Download Latest Version tpc-c-ifmx.tar.gz (392.7 kB)
Email in envelope

Get an email when there's a new version of IIUG Software Repository

Home / StoredProcedures / datespl_jl
Name Modified Size InfoDownloads / Week
Parent folder
dayofyear.spl 2020-05-11 270 Bytes
iso8601_weekday.spl 2020-05-11 1.3 kB
iso8601_weeknum.spl 2020-05-11 7.2 kB
README 2020-05-11 687 Bytes
Totals: 4 Items   9.5 kB 0
Subject: Variable for Week Number?
From: Jonathan Leffler <jleffler@informix.com>
Date: Tue, 11 Dec 2001 09:26:15 -0800 (PST)

I've attached some SPL: iso8601_weeknum() that calculates a week number
in the 2001-W50; iso8601_weekday() that gives the day of the week too
in the format 2001-W50-2 (both for Tuesday 2001-12-11); and day_of_year()
that yields 345 for today.

-- 
Jonathan Leffler                         #include <disclaimer.h>
STSM, IBM Data Management Solutions.      Phone: +1 650-926-6921
Email: Jonathan.Leffler@Informix.com, jleffler@us.ibm.com
Guardian of DBD::Informix v1.00.PC1 -- http://dbi.perl.org
     "I don't suffer from insanity; I enjoy every minute of it!"
Source: README, updated 2020-05-11