Ewon TechForum
Providing technical solutions to technical requests


Can i use Unix date format?
timon Offline
Ewon Distributor
#1
Hello,

There is a Example code for date format on page 102 of the Programming Reference Guide document.

Code:
A$ = SFMT 0,40
rem a$="01/01/1970 00:00:00"
a% = 1000000000
A$ = SFMT a%,40
rem a$="09/09/2001 01:46:40"


I want to get current datetime in Unix format like line 3.


Best Regard
Reply

simon Offline
eWON Support
#2
Timon,

Yes, just use :

a% = FCNV TIME$,40
print a%
Reply

AngelaT Offline
Ewon Distributor
#3
I usually use:

a% = GETSYS PRG, "TIMESEC"
Reply

simon Offline
eWON Support
#4
Even better! :-)
Reply

timon Offline
Ewon Distributor
#5
(13-11-2017, 06:38 PM)AngelaT Wrote: I usually use:

a% = GETSYS PRG, "TIMESEC"

Thank you
Reply



Possibly Related Threads…
18-05-2020, 05:25 PM
Last Post: simon
29-12-2019, 03:36 PM
Last Post: simon
  Date and Time Update Started by pkalika
13 Replies - 6.940 Views
23-01-2018, 11:22 AM
Last Post: simon



Users browsing this thread:
1 Guest(s)



Theme © Ewon 2019 - Forum software by © MyBB - Cookie policy