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

[amibroker] OT : Any CMT or IFTA member here ?



PureBytes Links

Trading Reference Links










Herman, try this

 

WriteVal( valuewhen(datenum()==1030404, datetime()), formatDateTime );



Cheers,
Graham
http://e-wire.net.au/~eb_kavan/ 



<span
>-----Original Message-----
From: Herman van den Bergen
[mailto:psytek@xxxxxxxx] 
Sent: Friday, May 07, 2004 5:54 AM
To: AmiBroker YahooGroups
Subject: [amibroker] How to
convert DateNum to date string?

<font size=2
face="Times New Roman"> 

<span
>Would anybody know how to convert a single DateNum()
i.e. 1030404,  to a formatted date string like "2004-04-03"?

We have:

<span
>    WriteVal( DateTime(),
formatDateTime );

but this doesn't work when i use:

    WriteVal( 1030404, formatDateTime ); 

<span
>Many thanks for any help you can give.

<span
>herman

<font size=2
face="Times New Roman">

Send BUG REPORTS to bugs@xxxxxxxxxxxxx<font
face="Courier New">
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx 
(Web page: <a
href="">http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html










Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html








Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.