I'm trying to play with dates in LCB.
For getting the numeric day of the week we have the need of an equivalent to the "convert to dateItems" of LiveCode or a way to get the numeric day.
The local date returned by LCB is a list of 6 elements against 7 for LC. The 7th is the numeric day I need.
com.livecode.date library - Numeric day of a week
-
- VIP Livecode Opensource Backer
- Posts: 163
- Joined: Tue Jan 26, 2010 10:15 pm
- Contact:
com.livecode.date library - Numeric day of a week
TheSlug
http://www.aslugontheroad.com - Tutorials, demo stacks and plugins for LiveCode
Data Grid Helper - An intuitive interface for building LiveCode's Data Grids
Excel Library- Extends the LiveCode language for controlling MS Excel
http://www.aslugontheroad.com - Tutorials, demo stacks and plugins for LiveCode
Data Grid Helper - An intuitive interface for building LiveCode's Data Grids
Excel Library- Extends the LiveCode language for controlling MS Excel
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Location: Overland Park, Kansas
- Contact:
Re: com.livecode.date library - Numeric day of a week
Did you enter this in RQCC? If not you should.
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
Re: com.livecode.date library - Numeric day of a week
Yes, please file a feature request. It sounds like a useful thing to be able to get hold of!
In the meantime, however, you could just wrap strftime(3) using the LCB foreign function interface, of course...![Laughing :lol:](./images/smilies/icon_lol.gif)
In the meantime, however, you could just wrap strftime(3) using the LCB foreign function interface, of course...
![Laughing :lol:](./images/smilies/icon_lol.gif)
LiveCode Open Source Team — @PeterTBBrett — peter.brett@livecode.com
-
- VIP Livecode Opensource Backer
- Posts: 163
- Joined: Tue Jan 26, 2010 10:15 pm
- Contact:
Re: com.livecode.date library - Numeric day of a week
@trevor:
Done:
http://quality.runrev.com/show_bug.cgi?id=15172
@peter-b
No problem, if you are explaining me how to accomplish this in LC8 DP1![Cool 8)](./images/smilies/icon_cool.gif)
Done:
http://quality.runrev.com/show_bug.cgi?id=15172
@peter-b
No problem, if you are explaining me how to accomplish this in LC8 DP1
![Cool 8)](./images/smilies/icon_cool.gif)
TheSlug
http://www.aslugontheroad.com - Tutorials, demo stacks and plugins for LiveCode
Data Grid Helper - An intuitive interface for building LiveCode's Data Grids
Excel Library- Extends the LiveCode language for controlling MS Excel
http://www.aslugontheroad.com - Tutorials, demo stacks and plugins for LiveCode
Data Grid Helper - An intuitive interface for building LiveCode's Data Grids
Excel Library- Extends the LiveCode language for controlling MS Excel