get date and time on start
-
Hi, i am trying to store the date and time on the first tick after initialisation. I cant find a way to store it as YYYY.MM.DD. instaed it gets stored as a double. Can anyone help me to figure this out?
https://fxdreema.com/shared/8Y296UFI

-
@piptheripper I'm afraid the time information on a tick is stored in UNIX format, not in components format. You can use that same structure but for UNIX. However, you will have to 'translate' it into components somehow later.
-
@l-andorrà Any hints how to convert/translate it? I was looking at the TimeToString() function, but didnt find a way to get the correct output..
-
@piptheripper You need custom code to do it. The admin uses it in those blocks where time in components can be used. Try to ask for it to him. Otherwise, I cannot help, sorry.