Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 911 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Print Thread
Rate Thread
strdate / wdate second's decimals #471439
03/04/18 13:10
03/04/18 13:10
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline OP
User
Sphin  Offline OP
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
strdate("%y%m%d %H:%M:%S", wdate()) doesn't show second's decimals, did I miss something in format? %S should show optional decimals but how to exercise this option?

Re: strdate / wdate second's decimals [Re: Sphin] #471460
03/05/18 13:28
03/05/18 13:28
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
%S does not display decimals. There is no format code for displaying decimals. Only when you import a date, %S gets also the decimals because that is a Zorro function, not a standard Windows function.

For decimals, round down the date to the recent second, subtract, and display the difference as decimals.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1