Forum Discussion

lpignedoli's avatar
lpignedoli
Ideator II
8 years ago

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    

1 Reply

  • eli_donahue's avatar
    eli_donahue
    Community Manager
    Hi lpignedoli, I recommend contacting Aras Support with this question. I am familiar with the way date format works between the Innovator client and server, but I'm not sure what settings may affect the scheduler service. Eli
    Eli Donahue Aras Labs Software Engineer