I obviously didn't dig hard enough. This came up once I refined my search slightly:
This is my final solution:
def transform(self, value, quality, timestamp):
from java.util import TimeZone
from java.text import SimpleDateFormat
tz = TimeZone.getTimeZone(self.session.props.timeZoneId)
sdf = SimpleDateFormat("E MMM d, h:mm:ss a z")
sdf.setTimeZone(tz)
return "Scheduled for: " + sdf.format(system.date.fromMillis(value))
1 Like