you have to cast it into a ulong:
datetime n = 1413424764; Print( string( (ulong)n ) );

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hello.
Im trying to get the output for the amount of seconds since jan 1, 1970.
The output I desire should look something like this: 1413424764
I can't seem to figure this out, i've been over the documents and i keep getting the date written out such as Jan 01, 1970 or the amount of seconds it took to execute the script..
Can someone show me an example of what i need in order to get this output Im desiring?
ty