[Gambas-user] Best way converting dates into strings forth and back

Karl Reinl karl.reinl at fen-net.de
Sat Dec 11 00:07:24 CET 2021


Am Samstag, dem 11.12.2021 um 00:49 +0200 schrieb Jussi Lahtinen:
> ? Cstr(Date(2021, 12, 10, 22, 27))
> 12/10/2021 20:27
> 
> ? Cstr(Date(2021, 12, 10, 22, 27))
> 12/10/2021 19:27
> 
> Depending if it is winter or summer. 

Salut Jussi,

I see here  you pass 10 December 2021 22:27 , is'nt it.
You say if you print it today  it will be 12/10/2021 20:27 
but if you print it in July it will be 12/10/2021 19:27.
But  then the converting would depend  on printing date, do you mean
that ?
-- 
Amicalement
Charlie

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20211211/ff19c3a9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: This is a digitally signed message part
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20211211/ff19c3a9/attachment.sig>


More information about the User mailing list