Can you please take a look into the code which is in the first message of this thread? Appreciate if you could point me where I can check for nulls. Many thanks, Suja -- View this message in context: http://www.nabble.com/MgDateTimeException-tp19465653p19603974.html Sent from the MapGuide Users mailing list archive at Nabble.com.