Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (flink, AndrewAMD), 656 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
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,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
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