Re: How can get the Week day ?

2011-01-05 Thread Edward M Martin
[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,'B') -- 01/01/01 But you're

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

Re: How can get the Week day ?

2011-01-04 Thread George Henke/NYLIC
by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 01/03/2011 09:25 PM Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 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

Re: How can get the Week day ?

2011-01-04 Thread Schuh, Richard
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 really began in Jan 1, 2001

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 Julian

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(saida,1)

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 On Mon, 3 Jan 2011 07:17

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 d...@vsoft-software.com wrote: Try this

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 2011 07

Re: How can get the Week day ?

2011-01-03 Thread George Henke/NYLIC
01/03/2011 08:26 AM Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 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

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

Re: How can get the Week day ?

2011-01-03 Thread Chip Davis
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...@scarlet.be Subject: Re: How can get the Week day ? To: IBMVM

Re: How can get the Week day ?

2011-01-03 Thread Edward M Martin
@LISTSERV.UARK.EDU 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 current century (as it was originally documented). It returns the number of days since the beginning of the most recent year ending in '00', e.g. '2000

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 Mike Walter
to The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 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

Re: How can get the Week day ?

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

Re: How can get the Week day ?

2011-01-03 Thread Les Koehler
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...@scarlet.be Subject: Re: How can get the Week day

Re: How can get the Week day ?

2011-01-03 Thread George Henke/NYLIC
@LISTSERV.UARK.EDU 01/03/2011 11:53 AM Please respond to The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU 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

Re: How can get the Week day ?

2011-01-03 Thread Kris Buelens
03, 2011 9:56 AM To: IBMVM@LISTSERV.UARK.EDU 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 current century (as it was originally documented). It returns the number of days since the beginning of the most recent year