Date format in method running witch Scheduler

Hi all, i have create a server side method to run a control on date of Item and send an Email to user with results. When I execute this method from menu Action-->Run Method Server in the email all dates written correctly (dd/mm/yyyy), if i execute this method with Innovator Scheduler all dates are written with english format (mm/dd/yyyy). I checked the Windows International settings for user used to execute a service and its all ok (Italian). This are the code for convert the date:
string ip_data_scad = Doc.getProperty( "ip_data_scad", "" ); string dt = DateTime.Parse(ip_data_scad).ToString("s"); string DS = cntx.ConvertUtcDateTimeToNeutral(dt,null); DS = cntx.ConvertFromNeutral(DS,"date","short_date");
Any suggestions?   Thanks    
Parents Reply Children
No Data