Re: How can get the Week day ?

2011-01-05 Thread Chip Davis
That's correct Ed, and WAD. Date('B') is intended for doing reliable date arithmetic, not archeology. :-) A consistent algorithm is more important to modern programmers than hewing precisely to historical usage (were that even possible, given the multiplicity of calendar schemes used in anti

Re: How can get the Week day ?

2011-01-05 Thread Edward M Martin
ing System [mailto:ib...@listserv.uark.edu] On Behalf Of Chip Davis Sent: Tuesday, January 04, 2011 7:28 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: How can get the Week day ? Well, not quite, unless you're using a VERY non-ANSI-Standard version of Rexx. :-) Say Date('U',0,'

Re: How can get the Week day ?

2011-01-04 Thread Chip Davis
Well, not quite, unless you're using a VERY non-ANSI-Standard version of Rexx. :-) Say Date('U',0,'B') --> 01/01/01 But you're right about the "C for Century"; it was always better to think of it as the Roman numeral for 100. It still suffered from the same boundary issues as the old Juli

Re: How can get the Week day ?

2011-01-04 Thread Schuh, Richard
gards, Richard Schuh From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of George Henke/NYLIC Sent: Tuesday, January 04, 2011 1:14 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: How can get the Week day ? tyvm, Chip, for the explanation. So this century r

Re: How can get the Week day ?

2011-01-04 Thread George Henke/NYLIC
hip Davis Sent by: The IBM z/VM Operating System 01/03/2011 09:25 PM Please respond to The IBM z/VM Operating System To IBMVM@LISTSERV.UARK.EDU cc Subject Re: How can get the Week day ? Technically, the first year of each century is cc01, not cc00. Due to an appalling lack of consist

Re: How can get the Week day ?

2011-01-03 Thread Kris Buelens
; SAY DATE('E') ' EUROPEAN DATE FORMAT' > SAY DATE('W') ' DAY OF THE WEEK ' > SAY DATE('M') ' MONTH ' > SAY DATE('N',,,'/',) ' NORMAL DATE WITH SLASHES' > SAY D

Re: How can get the Week day ?

2011-01-03 Thread Chip Davis
Technically, the first year of each century is cc01, not cc00. Due to an appalling lack of consistency, the C programmers in the first decade ("0") of the first century ("0") declared the first year to be "1". :-) -Chip- On 1/3/11 16:03 George Henke/NYLIC said: Not quite sure what is the di

Re: How can get the Week day ?

2011-01-03 Thread George Henke/NYLIC
ond to The IBM z/VM Operating System To IBMVM@LISTSERV.UARK.EDU cc Subject Re: How can get the Week day ? 365, plus 1 for each leap year. Les George Henke/NYLIC wrote: > Not quite sure what is the difference between the number of days since the > beginning of the century and t

Re: How can get the Week day ?

2011-01-03 Thread Les Koehler
2. But I suppose there is a difference or it would have been moot. Chip Davis Sent by: The IBM z/VM Operating System 01/03/2011 09:56 AM Please respond to The IBM z/VM Operating System To IBMVM@LISTSERV.UARK.EDU cc Subject Re: How can get the Week day ? Be careful with Date('C

Re: How can get the Week day ?

2011-01-03 Thread George Henke/NYLIC
. Chip Davis Sent by: The IBM z/VM Operating System 01/03/2011 09:56 AM Please respond to The IBM z/VM Operating System To IBMVM@LISTSERV.UARK.EDU cc Subject Re: How can get the Week day ? Be careful with Date('C'). It doesn't really give you the number of days in the c

Re: How can get the Week day ?

2011-01-03 Thread Mike Walter
e IBM z/VM Operating System" To IBMVM@LISTSERV.UARK.EDU cc Subject Re: How can get the Week day ? For even more nerdy-ness: the next year that is a prime number and a sum of a prime number of consecutive prime numbers (like 2011) is 2081 =401+409+419+421+431. So enjoy this one

Re: How can get the Week day ?

2011-01-03 Thread Dave Jones
For even more nerdy-ness: the next year that is a prime number and a sum of a prime number of consecutive prime numbers (like 2011) is 2081 =401+409+419+421+431. So enjoy this one:-) DJ On 01/03/2011 08:35 AM, Rich Smrcina wrote: > That's pretty nerdy, Dave. lol > > On 01/03/2011 07:35 AM,

Re: How can get the Week day ?

2011-01-03 Thread Edward M Martin
in Aultman Health Foundation 330-363-5050 ext 35050 -----Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Chip Davis Sent: Monday, January 03, 2011 9:56 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: How can get the Week day ? Be careful with Date(&

Re: How can get the Week day ?

2011-01-03 Thread Chip Davis
e beginning of the century, rather than days since the beginning of the year. *Sergio Lima * Sent by: The IBM z/VM Operating System 01/03/2011 08:26 AM Please respond to The IBM z/VM Operating System To IBMVM@LISTSERV.UARK.EDU cc Subject Re: How can get t

Re: How can get the Week day ?

2011-01-03 Thread Rich Smrcina
That's pretty nerdy, Dave. lol On 01/03/2011 07:35 AM, Dave Jones wrote: Sure! :-) 2011=157+163+167+173+179+181+191+193+197+199+211 DJ On 01/03/2011 07:32 AM, Bauer, Bobby (NIH/CIT) [E] wrote: So are you going to tell us these eleven *consecutive* prime numbers? Bobby Bauer Center for Info

Re: How can get the Week day ?

2011-01-03 Thread George Henke/NYLIC
z/VM Operating System To IBMVM@LISTSERV.UARK.EDU cc Subject Re: How can get the Week day ? Carlos and Dave, Thanks very much. run ok... Startint the new year, needing ask, and a very good help. Best Regards Sergio > Date: Mon, 3 Jan 2011 14:20:36 +0100 > From: carlo...@scar

Re: How can get the Week day ?

2011-01-03 Thread Dave Jones
> Bethesda, MD 20892-5628 > 301-594-7474 > > > -Original Message- > From: Dave Jones [mailto:d...@vsoft-software.com] > Sent: Monday, January 03, 2011 8:29 AM > To: IBMVM@LISTSERV.UARK.EDU > Subject: Re: How can get the Week day ? > > You're welcome, S

Re: How can get the Week day ?

2011-01-03 Thread Bauer, Bobby (NIH/CIT) [E]
:29 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: How can get the Week day ? You're welcome, Sergioand a Happy New Year too. (btw, 2011 is the sum of eleven *consecutive* prime numbers, and is itself a prime number) On 01/03/2011 07:20 AM, Carlos Romero Martin wrote: > On Mon, 3 Jan

Re: How can get the Week day ?

2011-01-03 Thread Dave Jones
You're welcome, Sergioand a Happy New Year too. (btw, 2011 is the sum of eleven *consecutive* prime numbers, and is itself a prime number) On 01/03/2011 07:20 AM, Carlos Romero Martin wrote: > On Mon, 3 Jan 2011 07:17:47 -0600, Dave Jones > wrote: >> Try this Sergio. >> day_name

Re: How can get the Week day ?

2011-01-03 Thread Sergio Lima
Carlos and Dave, Thanks very much. run ok... Startint the new year, needing ask, and a very good help. Best Regards Sergio > Date: Mon, 3 Jan 2011 14:20:36 +0100 > From: carlo...@scarlet.be > Subject: Re: How can get the Week day ? > To: IBMVM@LISTSERV.UARK.EDU > >

Re: How can get the Week day ?

2011-01-03 Thread Carlos Romero Martin
On Mon, 3 Jan 2011 07:17:47 -0600, Dave Jones wrote: > Try this Sergio. > day_name = Date('W', '01/12/10', 'E') > > On 01/03/2011 07:10 AM, Sergio Lima wrote: >> >> Hello List. >> >> I have a CMS file, and need convert the date in the format DD/MM/YY >> (01/12/10), to week day. >> >> T

Re: How can get the Week day ?

2011-01-03 Thread Dave Jones
Try this Sergio. day_name = Date('W', '01/12/10', 'E') On 01/03/2011 07:10 AM, Sergio Lima wrote: > > Hello List. > > I have a CMS file, and need convert the date in the format DD/MM/YY > (01/12/10), to week day. > > Try used this, but don't work : > > 52 *-* data = word(said

How can get the Week day ?

2011-01-03 Thread Sergio Lima
Hello List. I have a CMS file, and need convert the date in the format DD/MM/YY (01/12/10), to week day. Try used this, but don't work : 52 *-* data = word(saida,1) >>> "01/12/10"