Thanks guys!
Miyako, that is so simple ... :)

On Tue, 25 Sep 2018 at 01:43, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> actually you can get UTC time without a network connection:
>
> // v17
> C_TIME($t)
> XML DECODE(Delete string(Timestamp;24;1);$t)
>
> // before
> C_TIME($t)
> XML DECODE(Delete string(string(Current date;ISO date GMT;Current
> time);20;1);$t)
>
> both of which are effectively "substring" + "time" operations that strip
> away the date.
>
> however, time in a specified zone requires date information,
> because of day light savings and other peculiarities.
>
> c.f.
>
> https://github.com/miyako/4d-plugin-time-and-number
> https://github.com/miyako/4d-plugin-tz
>
>
>
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **********************************************************************



-- 
*************************************************
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to