Hi, The interpretation of time.localtime implicitly depends on timezone of the environment that the process is running in. Even if we don't provide any way to modify the timezone from Mercury (yet), I think it should take the I/O state. Or better, take an explicit timezone argument and provide other predicates to get the timezone. Peter