[Gambas-user] datatype for time_t of C for external function

vuott at tiscali.it vuott at tiscali.it
Sun Jun 17 19:17:58 CEST 2018


  
Hello, 
...from /usr/include/postgresql/9.5/server/utils/nabstime.h

 " Although time_t generally is a long int on 64 bit systems " 
So, I
say in Gambas it's a "Long". 
bye 
vuott 

Il 17.06.2018 15:31
Demosthenes Koptsis ha scritto: 

> Hello,
> 
> i read about time_t
datatype 
> https://en.wikibooks.org/wiki/C_Programming/time.h/time_t
[1] and i have a 
> question about which datatype is the best of gambas
language.
> 
> in c program the sizeof(time_t) gives me 8 bytes.
> 
> So
which gambas datatype is better, FLOAT or DATE ?
> 
> Thanks!
> 
> ----[
Gambas mailing-list is hosted by https://www.hostsharing.net [2] ]----
 



Con Mobile Open 6 GB hai 6 Giga, 600 minuti e 300 SMS per il tuo smartphone a 9€ al mese per sempre. Passa ora a Tiscali Mobile, il nostro mese è vero! http://tisca.li/Open6GB0318

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180617/06b4fd58/attachment.html>


More information about the User mailing list