|
You are
storing your dates ICONVed, aren't you?
On 01-09-2015 2:15 PM, David Grenfell wrote:
you are right Dan .
I discovered the cut-off year after I sent mail. Thanks for
reply. I have modified my input screens to accommodate 4 digit
year if I need to over-ride the default. we have a lot of
members whose b-day are before 1930.
Dave
Sent from my iPad
That doesn't make sense. The default 'pivot'
year is '30' such that two digit dates are converted as
follows:
00-29 2000->2029
30-99 1930->1999
For example, running this code...
internaldate = ICONV('1-1-43','D') ;* simulate
the input of a date with a 2-digit year
CRT OCONV(internaldate,'DY')
returns '1943' (not '2043').
The jBASE environment variable 'JBASE_PIVOT_YEAR' (only
valid on jBASE 5) can be used to change this behavior. For
example:
set JBASE_PIVOT_YEAR=50
Running that same code now returns '2043'.
Dan
--
--
IMPORTANT: T24/Globus posts are no longer accepted on this
forum.
To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
---
You received this message because you are subscribed to the
Google Groups "jBASE" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
---
You received this message because you are subscribed to the Google
Groups "jBASE" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
---
You received this message because you are subscribed to the Google Groups "jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
|