Passing Date value to NetSuite via API - netsuite

When populating a date field in NetSuite via the API (e.g Sales Order start date), you are required to specify a timestamp + timezone, even though the timestamp isn't shown in NetSuite.
Does anyone know the logic NetSuite is using to covert a date+timestamp to a date?
For example, sometimes when I pass a date+time of Oct 1 2016 00:00:00 UTC, I see Sept 30 2016 in NetSuite. Other times, I see the date appear as Oct 1 2016 in NetSuite. The logic seems inconsistent. Can anyone explain the logic?

For me it depended on my timezone, and the timezone of the account that was writing to NetSuite.
I had this issue in the past. I resolved it by setting my Integration user account to have GMT timezone. After that, the dates/times have always appeared correct for each user, based on their timezone (set in preferences).

the date you submitted is converted from logged-in user's timezone, to server's timezone. it's saved with the server timezone.
so depending on the difference between timezones of session user and server, yes it can even change the date by conversion.

Related

Powerapps date and time SharePoint timezone issue

I have a SharePoint list with a customised PowerApps form. There is a date and time field and I would like to capture the exact date and time that the user enters in the field, independent of the time zone the user is based in. My SharePoint site regional settings is UTC but when users from EST enter 9:00 on the PowerApps form, it is saved as 5:00 on SharePoint. I do not want these conversions to take place. Can someone please assist me with this.
Thank you.
SK
Check out the Converting to UTC section here: https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-dateadd-datediff
using the TimeZoneOffset() to convert all the times to UTC no matter the user's location.

Date Field in SharePoint(On-Prem) list returns Previous day Date instead of current date in MS-Flow(Online)

Issue: We have created a MS Flow to trigger, when an item is created in SharePoint list (On-Prem) and in flow (On-Cloud) returns the date field value as One day before of actual date value.
eg: If I have a Due Date field in SharePoint List and created new items with a Due Date valueas 6/28/2019, but at the time of Flow trigger it returns the Due Date value as 6/27/2019.
And I have configured the Sharepoint App server(On-Prem), Database server(On-Prem), MS-Flow (Online) to IST time zone, but still I'm facing the issue.
Regards,
Tharma KS

Acumatica: Change Timezone for Last Modified field on Sales Order

I added the available LastModifiedDateTime field to the Sales Order screen, but it is showing up in UTC (that is the timezone that the AWS server is on).
What is the best way to convert this to our local timezone? I assume it would be best to simply convert the field but i am not sure the best way to do this. Any ideas?
I did see Gabriel's response to How does Acumatica calculate LastDateTimeModified but he doesn't actually say how to change the timezone of that field.

Date needs to be validated for greater than today's date #DocuSignAPI

We need to validate a date field(Data Field) is greater than today's date in DocuSign Envelope. How can we validate a Date greater than today's date in DocuSign Data Field?
I don't believe it's possible to set the properties of a Data Field (i.e., text box) in DocuSign such that it requires a Date AND requires that Date to be greater than today's date. You can easily set Data Field properties such that only a Date will be considered valid input -- the show-stopper is the inability to dynamically require a date in a specific range (for example, greater than today's date).
On the off-chance that I'm missing something (and it IS possible to do what you describe), you might consider also posting your question to the DocuSign Community Forum (http://community.docusign.com/t5/Sending-Options-and-Features/bd-p/Community-Information). Although that forum won't provide info about using the DocuSign API, it's a good place to ask general feature/functionality questions....which can be valuable, since if you're able to figure out how to do something via the DocuSign UI (web console), it's usually straightforward to translate that to API implementation.
I believe Kim is right in that there is no way through the "out-of-the-box" functionality to only allow dates after a certain time to be entered, however if you're using the DocuSign API you could:
Ask the user to enter a date BEFORE opening the envelope.
Validate the date is in the acceptable range you are seeking.
Add the data field to your envelope with the already validated date and make read-only so it can't be changed.

CRM2011 Appointment end time value different between form and database when all day event checked

there is a check box - All Day Event - in appointment form, if check it, the end time got problem, for example, in the form end time is "2013-05-22", but in the database the value is "2013-05-23"; There is no issue if all day event is unchecked. Anyone knows why?
EDIT:I saw your screenshot, 5/23/13 12:00 AM is midnight, so the time is correct.
CRM 2011 stores the datetime values in UTC format, when you read the values directly from SQL or Web Services you need to convert to the localtime value.

Resources