Source language: Translate to:

Date in figures to date in words

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Date in figures to date in words

Postby donmichel » Tue Aug 17, 2010 8:27 am

Is there a way to transform the date in figures stored in a variable (for eg. 17/08/2010) to date in words automatically? (Like "Seventeenth August Two Thousand Ten)
donmichel
 
Posts: 38
Joined: Sun Sep 14, 2008 1:25 am

Postby smartmedia » Tue Aug 17, 2010 8:48 am

Hi..

As far as i know, No, but you can make a subroutine and execute the transformation every time you want.
User avatar
smartmedia
 
Posts: 889
Joined: Fri Apr 01, 2005 6:50 am
Location: Hellas

Postby Neosoft Support » Tue Aug 17, 2010 2:04 pm

You can also use NeoBook's DateToNum and NumToDate actions. For example:

Code: Select all
DateToNum "17/08/2010" "d/m/y" "[DateNum]"
NumToDate "[DateNum]" "dddd mmmm d, yyyy" "[DateString]"


This will set [DateString] to: "Tuesday August 17, 2010"

NeoBook's help file contains a list of other options for NumToDate.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5605
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby bunker » Fri Sep 10, 2010 2:03 pm

You can do it with NeoPHP.

:arrow: http://www.neobookeros.com.ar/?p=299

Look at page 2 in the example pub

Greetings
User avatar
bunker
 
Posts: 141
Joined: Sat Sep 29, 2007 4:00 pm

Postby donmichel » Sun Sep 12, 2010 5:09 am

Thanks bunker,
That seems to be fantastic. But I couldn't use the tutorial because not in English. Where can I find an English tutorial?
donmichel
 
Posts: 38
Joined: Sun Sep 14, 2008 1:25 am

Postby Wrangler » Sun Sep 12, 2010 9:03 am

Wrangler
--------------
"You never know about a woman. Whether she'll laugh, cry or go for a gun." - Louis L'Amour

Windows 7 Ultimate SP1 64bit
16GB Ram
Asus GTX 950 OC Strix
Software made with NeoBook
http://highdesertsoftware.com
User avatar
Wrangler
 
Posts: 1507
Joined: Thu Mar 31, 2005 11:40 pm
Location: USA

Postby donmichel » Wed Sep 15, 2010 10:42 am

Nice suggestion. I will try it.
donmichel
 
Posts: 38
Joined: Sun Sep 14, 2008 1:25 am

Postby bunker » Wed Sep 15, 2010 3:58 pm

Sorry for that... I can read english but no write it. I use google when is necessary.

Greetings
User avatar
bunker
 
Posts: 141
Joined: Sat Sep 29, 2007 4:00 pm

Postby TMcD » Wed Oct 27, 2010 12:03 am

bunker wrote:You can do it with NeoPHP.

:arrow: http://www.neobookeros.com.ar/?p=299

Look at page 2 in the example pub

Greetings


Wow, now this has some MASSIVE :!: potential!
TMcD
 
Posts: 237
Joined: Sun Apr 10, 2005 11:20 am


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest