[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] assistance with string formant syntax



PureBytes Links

Trading Reference Links

The funny stuff just controls formatting of the numbers.  Google printf for definitions.  To do what you want insert "/" where you want them:
 
StrFormat("%02.0f/%02.0f/%02.0f", Mon, Daz, Yea );
 
Bill
 
--- Original Message -----
From: "jeremy7827110028" <jberkovits1@xxxxxxxxxx>
Sent: Thursday, March 20, 2008 12:15 PM
Subject: [amibroker] assistance with string formant syntax

> Hello to all,
>
> How do I change the folowing string formating statment to create a date
> formated as MM/DD/YY?  Can anyone explain what the ("%02.0f%02.0f%
> 02.0f, part of the statment means?
>
>
> Yea = Year();
> Mon = Month();
> Daz = Day();
> Dh = StrFormat("%02.0f%02.0f%02.0f", Mon, Daz, Yea );
>
> regards,
>
> Jeremy
>
>
> ------------------------------------
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
>
http://www.amibroker.com/devlog/
>
> For other support material please check also:
>
http://www.amibroker.com/support.html
> Yahoo! Groups Links
>
> <*> To visit your group on the web, go to:
>   
http://groups.yahoo.com/group/amibroker/
>
> <*> Your email settings:
>    Individual Email | Traditional
>
> <*> To change settings online go to:
>   
http://groups.yahoo.com/group/amibroker/join
>    (Yahoo! ID required)
>
> <*> To change settings via email:
>   
mailto:amibroker-digest@xxxxxxxxxxxxxxx
>   
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
>
> <*> To unsubscribe from this group, send an email to:
>   
amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> <*> Your use of Yahoo! Groups is subject to:
>   
http://docs.yahoo.com/info/terms/
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.21.7/1335 - Release Date: 3/19/2008 9:54 AM
>
>
__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___