dateItems

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
mister
Posts: 39
Joined: Thu Nov 27, 2014 9:03 pm

dateItems

Post by mister » Sun Jun 19, 2016 6:59 pm

this used to work in 7.1.2, adding a day to the date. Now using 8.0.1(rc 1) has the syntax changed?

Code: Select all

 convert the long date to dateItems
   add 2 to item 3 of it
convert it to abbr date
answer it
Thanks,
larry

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: dateItems

Post by Klaus » Sun Jun 19, 2016 7:38 pm

Hi Larry,

just tested with LC 8.01 STABLE on my Mac and it works as expected, I got: Tue, Jun 21, 2016
Hm?


Best

Klaus

mister
Posts: 39
Joined: Thu Nov 27, 2014 9:03 pm

Re: dateItems

Post by mister » Sun Jun 19, 2016 8:08 pm

Klaus,

Thanks for checking! i tried it in a new stack and it worked fine. There must be something in this stack which i've been working for a loooong time that's conflicting with the message.

Larry

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4172
Joined: Sun Jan 07, 2007 9:12 pm

Re: dateItems

Post by bn » Sun Jun 19, 2016 10:02 pm

Hi Larry,

did you set the itemDelimiter to something else than "," in your handler before doing

Code: Select all

add 2 to item 3 of it
?

Kind regards
Bernd

mister
Posts: 39
Joined: Thu Nov 27, 2014 9:03 pm

Re: dateItems

Post by mister » Sun Jun 26, 2016 10:45 pm

Klaus,

Sorry for the late reply, it was a tough week at work. delimiter was set to tab.

Thanks'
Larry

Post Reply