Gateway Message Handler translates a datetime.now() command into a java.sql.Timestamp, how can I change it back?

This.

Also, see this topic (not just for Perspective):