I am writing the current date and time to an attribute in an SDE feature class that is being accessed via a FeatureServer when an edit occurs with the following:
feature.attributes.sfd_edit_date = Date.now();
It works great, except the time is in UTC and not local when I view it in ArcMap.
I understand that Date.now() gets me the current date in milliseconds, but how can I get the time to be the current local time and not the UTC time?
Thanks.
Mele