DOB field as date tab prompts date picker - docusignapi

I have a date field and it has to be a date field as I need to run formula on the field to identify is the person is over 18 or not. Formula field is to find if dob is 18 or over. And date formula's does not work on text field.
Now the issue is, because it is a date field, docusign prompts date picker and any date format I provide either through validation or by changing the regional setting does not change the date format. It is always 2021-06-24T12:00:00-04:00 (ie YYYY-MM-DDTHH24:MI:SS).
Date tab gets added using API and so are the validationPattern. Please can you help me with the following issues.
How can I stop the date picker from showing?
Even if the date picker shows up, how to control the date format. I am looking for mm/dd/yyyy
Regional settings, Time Zone does not have a Date format without timestamp. Inspite of picking something from there, date picker does not match what was picked.

Update, you can use formulateTab to calculate the date in 18 years like this:
AddYears( [Text <GUID>] , 18)
Note above is the unique ID of the text tab where the user enters their DOB.
Hope that helps.
Make it into a text field and you can then just use Date validation with one of the formats below: (make sure it works for you first from the web app - you can later do this all with the eSign API)

Related

How to customize SOQL date format

When i select the data from salesforce using the SOQL, am getting the date format as 'YYYY-MM-DDThh:mm:ss-hh:mm' for a date column.
How cam we customize this date value to this format 'YYYY-MM-DD HH24:MI:SS' ?
You can't apply arbitrary formatting to date-time results in SOQL. By default, you'll receive the ISO8601 format shown in your question.
You may request a formatted date using the FORMAT() SOQL function. The result is
When the FORMAT function is applied these fields reflect the appropriate format for the given user locale. The field format matches what appears in the Salesforce Classic user interface. For example, the date December 28, 2015 can appear numerically as 2015-12-28, 28-12-2015, 28/12/2015, 12/28/2015, or 28.12.2015, depending on the org’s locale setting.
You cannot supply a locale or date format to this function. If you need a format other than the user locale, perform this transformation in your client application.

Fetching date value from a SharePoint-list, to use in date&time specific field in flow

I'm trying to design a Microsoft Flow, which will create a outlook calendar event entry based on information in a SharePoint-online list.
The list will contain a value for a DueDate its a column of type Date, not including time.
I want to be able to create a outlook calendar entry on the date based off the duedate column. The calendar entry form in flow allows via dynamic content to add dates that also include time, however date columns not containing time cannot be added that way.
Is there a workaround to this, some expression that would allow me to fetch values from columns more freely and then possible append a time to it
I have tried converting the column in sharepoint to a Date with Time column and that workaround worked, however its not what I'm looking for. Id like to know how to be able to work around this because I don't necessarily want my column as a date-time column which can cause problems later on.
I have tried this expression:
formatDateTime(concat(item()?['DATE'], '08:00')'yyyy-MM-ddThh:mm:ss')
But I know this is wrong and it doesn't work. I'm simply not sure how to do it.
https://puu.sh/Df5ni/05cb882b23.png
I want the flow to add a calendar entry based off the due date column which i can append my own time to like the start of the day and last til the afternoon.
Actual results are I don't seem to be able to use a date column, just a date-time column for start and end times of the event, date column without time doesnt appear in the dynamic content list.
If there is some way to manually fetch values instead of using the dynamic content that is very powerful and can then possibly be converted to the right format using additional code.
Date column name in my list is date_without_time of type Date (Add time set to NO):
New element:
Function used in Create event (V2) action:
formatDateTime(triggerBody()?['date_without_time'],'yyyy-MM-ddT09:35')
Result:
Calendar:

Creating Custom Date Function in Excel

I am trying to code a date function in Excel using the Month and than the last two digits of the year. So for example I just have the numbers 1-12 in a column. Then I want to code them as follows. 1 is Jan-15, 2 is Feb-15,..June-15. Then 7 is July-14, 8 is Aug-14. However whenever I try to type in those it codes them as their respective month, the day and the year as 2015. I know I have to create a custom format date function, but how would I go about doing that in this case. I have seen some things, but many of times it is unclear. Could Someone help me out.
This link can help you out.
Create a custom date format
If you want to use a format that isn’t in the Type box, you can create your own. The easiest way to do this is to start from a format this is close to what you want.
Select the cells you want to format.
Press CTRL+1.
In the Format Cells box, click the Number tab.
In the Category list, click Date, and then under Type, pick a date format that is close to the format you want.
Go back to the Category list, and pick Custom. Under Type, you’ll see the format code for the date format you picked in step 4. The built-in date format can’t be changed, so don’t worry about messing it up. The changes you make will only apply to the custom format you’re creating.
In the Type box, make the changes you want using code from the table below.
According to the table there and your description I suppose you should use a custom format like:
mmm-yy

When i import the date format in excel(dd/mm/yyyy) to msaccess it is showing non date value

When I am importing the excel file in date format(dd/mm/yyyy) to access it is showing non date value what is the problem.
eg:27/3/2012 to 33765 here 33765 is a non date value
The reason is because all dates within the MS Office world are actually numeric values, e.g the date you gave above 27/03/2012 equates to 40995.
When using the import wizard to create a new table, Access will automatically read this as it's true numeric value and set the column type as so.
Fortunately it's easy to fix, open up the design view of your table, amend the column in question to a date format and save the table, this should now present all the values correctly.
Alternatively, setup a blank table with the column already set to the date data type and then import your spreadsheet into the existing table.
Access by default thinks that dates coming from Excel are in American date format (mm/dd/yyyy) not European (dd/mm/yyyy).
The number you are seeing is how excel is storing the dates. (every day since 1/1/1990 is +1).
When the dates are in european format Access doesnt recognize them as dates during import and may load their raw serial date numbers.
Additionally be sure that the Access column that these are importing to is set as 'date'. I figured that you may have already done that, but I wanted to check.

How to get Date and current time from the Date/Time column in SharePoint Custom list

I have column called "Date Submitted" as Date/time in one of the Custom list in sharepoint 2007.
it always set to today's date and 12AM time instead of that I want to display today's date with current time hh:mm:ss.
I tried creating calculated column TestDate and formula is : =TEXT(([Date Submitted]),"mm dd yyyy h:MM:SS")
result is 04 28 2010 0:00:00 I wanted to be 04/28/2010 10:50:34
Is it possible to achive this?
Thank you
kanta
try to put =NOW() in the default value field in the column properties
In the definition of Date Submitted, is the Date and Time Format currently Date Only? If so, try changing it to Date & Time.
For something like this, I ended up creating a custom action which is called from a workflow.
A few ideas to get you started :-
Can you use the Created date instead - it will always be set to the exact time the record was created?
When entering a new item on the Calendar list it defaults to the current time - could you make your list from a modified Calendar list rather than the Custom list?
I've written a blog post about how you can use a JavaScript hack to set the default duration for a new calendar record - you could modify this to use with a Custom list and to set the field to the current time.
Setting a default duration for new calendar events
You could write your own custom field type
SharePoint 2007 Custom Date Time Field to default the time to the current time
Codeplex - custom date time field
=TEXT([DateFiled Here],"mm/dd/YYYY hh:mm:ss ")
Here's how to do what you want:
=TEXT(Today,"mm/dd/YYYY")&" "&TEXT(Now(),"h:mm:ss")

Resources