Published on InterSystems Developer Community (https://community.intersystems.com)

Inicio > $ZTIMESTAMP in hora local

Artículo
Daniel Aguilar · 1 abr, 2022 Lectura de 1 min

$ZTIMESTAMP in hora local

Con el reciente cambio de horario en España me surgió esta duda:

 

¿Como obtenéis un $ZTIMESTAMP en horario local?.

He encontrado esta forma y funciona:

 

 Set LocalTimestamp=$ZDATETIMEH($ZTIMESTAMP,-3)

 

¿Conoces alguna forma mejor de hacerlo?

 

(Consulta aquí el artículo en inglés )

https://community.intersystems.com/post/ztimestamp-local-time

#ObjectScript #Caché

URL de fuente:https://es.community.intersystems.com/post/ztimestamp-hora-local