Hi "another Rolf"

>> is there a function which allows to convert an unix timestamp into the
>> appropriated date/time in Gambas3?
>>
>> If, how is it called and how to use.

> Take a look at this one:
> http://gambasdoc.org/help/lang/stat?v3
> file.stat should deliver a file date. Or did I get you wrong?

For my problem, you get wrong. The unix timestamp is not only the time 
of a file. It is the time in seconds since the 1. Jan. 1970. Even the 
system clock only counts the seconds.

My problem is, that a network application send a timestamp as a string. 
I have to convert this string into Date and Time - which is usually done 
in C or PHP or... by a function of a system library (which of course 
know leap years).

And some times I would like to generate a timestamp as well, for example 
to send it to a database.

Another helper out there?

Rolf

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to