MS Access: Show string in the date field when empty - date

I'm looking to have my field show "dd-mmm-yy" when a date is not entered into the field, so members don't get confused and frustrated when they try to put in a date such as 11/12/20 and don't realize it needs to be in day day, month month month, year year format. Is this possible to do through the property sheet?
[date format]

You can set the Format property of the textbox to:
dd-mm-yyyy;;;"dd-mm-yyyy"
though I believe it will add more confusion than help.
Another method for speedy input of dates is shown in my article:
Entering ISO formatted date with input mask and full validation in Microsoft Access

Related

How to show (Blank) when using calculated column and DATEDIF when using Sharepoint

I use below code on a Sharepoint list to calculate banking days but I want it to show (Blank) when there isn't a date in "End Date List", what do I need to change? Today the code shows a number greater than 32k when (Blank).
=IF(ISERROR(DATEDIF([End Date List];TODAY();”d”));””;(DATEDIF([End Date List];TODAY();”d”))+1-INT(DATEDIF([End Date List];TODAY();”d”)/7)*2-IF((WEEKDAY(TODAY())-WEEKDAY([End Date List]))<0;2;0)-IF(OR(AND(WEEKDAY(TODAY())=7;WEEKDAY([End Date List])=7);AND(WEEKDAY(TODAY())=1;WEEKDAY([End Date List])=1));1;0)-IF(AND(WEEKDAY([End Date List])=1;(WEEKDAY(TODAY())-WEEKDAY([End Date List]))>0);1;0)-IF(AND(NOT(WEEKDAY([End Date List])=7);WEEKDAY(TODAY())=7);1;0))
Since Networkdays function don't work in calculated column I have used this but don't understand where I can change so that if the "cell" is blank, the outcome should also be blank.

DAX and FORMAT function

i have a field for date with date, month and year.In my visualization, I need date to be displayed in (MON-Year) format.
I switched to data view, created calculated column with
Mon-Year = FORMAT('table'[Date],"YYYY-MM")
Now it's getting displayed as (YEAR and Month number) but I want to change it as month name.
After changes in data view, when I close apply, the column is present but there is no data type visible.
Should I create different calculated fields for year and month separately and then concatenate it?
any help would be appreciated.
If you want month first, then maybe you should specify it that way.
Mon-Year = FORMAT('table'[Date],"MMM-YYYY")
This may be useful for you:
https://learn.microsoft.com/en-us/dax/custom-date-and-time-formats-for-the-format-function

How do I pull the week of the month from text strings in this Twilio format 2019-08-22 06:12:58 MDT?

I am using the Twilio log file to crunch some data and need to convert the Twilio format for dates into something that Google Sheets can recognize as a date so I can then extract what week of the month the date is referring to. Also would be helpful to get the syntax that converts the Twilio date to a recognizable date for Googlesheets in case there are other things I need to do with the date field.
Currently, this is the format in the log file: "2019-08-22 06:12:58 MDT"
I'm using this =text(index(split(I2," "),,1),"mmmm") to determine the month and am struggling to have this now be able to work with the WEEKNUM function of Googlesheets to get the number of the week the date is from. I've tried =DATE(index(split(I2," "),,1),"mmmm"), =WEEKNUM(index(split(I2," "),,1),"mmmm") but am terrible with the formula syntax and can't fix the date value.
=DATE(index(split(I2," "),,1),"mmmm")
I expect to see a value from 1-5.
The text() part of the formula is turning the date input into text. And so you can't use it to calculate the weeknum().
=weeknum(index(split(I2," "),,1)) will get you closer. But it will give you the week of the year.
You may want to see this for a way to get to week of the month from week in the year.

Converting CF Session variables to a date format

Is it possible to convert ColdFusion session variables into a date format as such MM/DD/YYYY?
Right now what was created were three drop downs Month, Day, Year:
Ex. Aug 5 1986
The user wants these drop downs instead of just having one date picker. But then on the form they want that date in the format as of MM/DD/YYYY.
I have it showing as #session.checkout.info.birthmonth_1# #session.checkout.info.birthday_1# #session.checkout.info.birthyear_1#
Is it some how possible to convert those three variables into that date format?
It sounds like you want to use the CreateDate(year, month, day) function
Or in your case
session.checkout.info.birthdate = CreateDate(
session.checkout.info.birthyear_1,
session.checkout.info.birthmonth_1,
session.checkout.info.birthday_1);
The you can use a date formatting function to display as needed
#session.checkout.info.birthdate.LSDateFormat()#
Source: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-c-d/CreateDate.html

Convert Date Value When Using Google Form Date Picker from 5 Digit Format to MM/dd/yyyy format

I selected tomorrow's date (8/21/2014) from the data picker field of a Google Form submission, and the value "41872" is returned in the spreadsheet.
What format is this date format?
I need to convert this date format to the MM/dd/yyyy format using script, as formatting the Date column using the Format menu only updates the rows that are currently available...not the new rows that will be there when new form submissions come in.
How do I make this conversion?
I am not sure, but your issue seems to be very basic. Its about the cell formatting as like we do in Ms Excel.
For Google spreadsheet inorder to format a cell or a range,
1. Select the Range
2. On menu, Go To Format->Number->Date (and then select the required format)
Does this works?
I had the same confusion. All you need to do is just change the format from the menu Format->Number->Date & Time