localtime# swordfish.function.localtime()# Convert X in GMT (Greenwich Mean Time) to local time zone. Parameters: X (Constant) – A variable/vector. The data type of X can be datetime, timestamp, or nanotimestamp.