CRM Date Format In DD/MM/YY - dynamics-crm-2011

I want to display the date in date field on CRM form as "DD/MM/YY".
Language must be "U.S(English)".
Here, problem is that in mentioned above language date does not have the format like "DD/MM/YY"
But if we change language to other language like Urdu, Korean then we can get the above mentioned date format BUT if we change the language user faces problem to access CRM.
Does anybody have any idea that how to display the date on the form in above mentioned Date-Format.
Here is the screen shot that I am facing problem to display the date format (DD/MM/YY) in CRM 13 online.
Any kind of help, will be appreciated.
Thank,
Anish

The date format is a personal setting for each CRM user. Each user can choose the date format they prefer starting from a language list.
Not all the date formats are available after a language is chosen, in your case the date format dd/MM/yy is not available under English (United States).
Steps to change the date format
For CRM 2011 the option is under File -> Options -> Formats.
For CRM 2013 you need to click on the rowel beside the image user on the top right corner, select Options and then Formats.
There is also this utility to update the settings for all users programmatically:
http://crm2011usersettings.codeplex.com/
or
http://crm2011silverlight.codeplex.com/

Related

Is there a way to use VBA to change the language in VBA generated worksheets?

I was assigned a project at work to develop a Macro that would automatically take financial data from an Excel table and generate credit notes and invoices for customers. I have the Macro developed already it is working the way it should, but the issue I am running into is with the language that is used for each invoice.
When generating credit notes, the Macro is taking the the invoices month of issue from the financial data table and displaying then as them as the months where credit was issued to the customer. i.e., a customer is requesting a partial refund on transactions from a period of time (say Feb.2019 - Apr. 2019) it will be displayed as:
February 2019 (02-19) -20.20
March 2019 (03-19) -32.03
April 2019 (04-19) -24.21
The problem is that my primary working language is English, but my company works in several European marketplaces and the invoices and credit notes have to be displayed in the language of the market where the customer is located.
So if an Italian customer requests an invoice, the months displayed must be listed as
Febbraio 2019 (02-19) -20.20
Marzo 2019 (03-19) -32.03
Aprile 2019 (04-19) -24.21
However, when running the Macro it still displays the issuing months in English when it should be displayed in the language of the market. The entirety of all invoices and credit notes created with this Macro are generated in the correct language, but since the Macro is taking the issuing months from the data table it automatically displays them in English.
Is the any way to ensure that it displays the issuing months in the required language?
I already know that the language settings can be changed for the entire workbook, but I still run into the same problem as I would have to manually change the issuing language each time I run the Macro to ensure the issuing month is correct?
To format a date in another regional setting you need to change the number format of the date for the desired range of cells. Eg. format the cell pressing Ctrl+1 to get the following dialog, and choose the regional setting ("Gebietsschema") for the country you desire.
Image 1: Change the regional setting for the date (sorry for the German screenshot).
Alternatively use the Range.NumberFormat property to format the cell with VBA:
.NumberFormat = "[$-it-IT]d mmmm yyyy;#"
Note that these both work if your dates are real date values but don't work if your dates are text. If they are text you need to change them into real dates.

How to get English month name from date in Russian Excel?

I am unable to get month name in Excel.
Neither =TEXT(...;"mmmm") not doesn't work.
I found, only Russian M's are working and giving Russian month name, despite of language settings
Latin M's give nothing.
Are there any other settings to force month name language?
UPDATE
Setting date format nationality didn't help:
Thanks for additional details. It appears to be a long standing issue with MS Office. See How to prevent Excel to use the OS regional settings for date patterns in formulas for a related issue and some partial solutions.
In particular, hardcoding using CHOOSE might be your way to go:
=CHOOSE(MONTH(B2);"Jan";"Feb";"Mar";"Apr";"May";"Jun";"Jul";"Aug";"Sep";"Oct";"Nov";"Dec")
Also see Scott Craner's comment regarding =TEXT(B2;"[$-0409]MMMM") which looks like a quick fix. But note that the MMMM has to be in your locale, so the spreadsheet might not be portable. The CHOOSE option would be better in this case.
I found a way to fix this problem. First you need to go to Excel options and click "Advanced". After that, you need to scroll down to the bottom of this page and edit the "Edit Custom Lists..." button located in the "General" tab. Image for first step
Finally, you should add your own lists by clicking NEW LIST.
Image for final steps
January
February
March
April
May
June
July
August
September
October
November
December

How to edit external lists in sharepoint designer 2013

I currently have a simple external content type that displays a very small sql table on a external list in my SharePoint site. The problem is I have a date of birth field that gets formatted with the DateTime type instead of the Date type that is used when I created the SQL table. The biggest issue I am facing is the lack of designer view in SharePoint Designer 2013 that was included in 2010. Since I am forced to work with the source code, how do I go about formatting the date of birth fields so that it is displayed in simple Date format example: 01/01/2001. And also prevent the time from showing when adding or entering a new record to the list.
You could use a SELECT LEFTSQL statement to pull just the relevant information. Are you familiar with this method?
For clarification, here's an example:
CDate(Left([FieldName],10)
While being sure to change [FieldName] to match the field's name in your table.

How to get the Current Date & Time Automatically to a Date Time Field

I have created a date time field I made today's date as the default value, Then I added it to a page layout and created a page, But the current Date Time is not picking up from the system.
I dont want to give the user to select a Date Time instead it should populated automatically
Is there anyway to achieve this without writing code in code behind files?
This is very similar to this question I think
SO - How to get Date and current time from the Date/Time column in SharePoint Custom list
My answer there gives a few options such as using the built in Created field, using a calendar template, a JavaScript hack and a custom field type.
Guys, fake [Today] trick worked for us - but prob is we only got the date value not datetime.
Janis, is it possible to get date and time both from the fake [today] column trick? pls refer few articles on the same
Does [Today] work?
If you have language pack applied to SharePoint, then you must use localized "Today" string.

Sharepoint 2007 calculated Date field shows incorrectly in non-US region

If a SharePoint user (with Regional Settings set to UK) views a calculated date field in a View details form, the field shows incorrectly.
I am using:
ddwrt:FormatDateTime(string(#RenewalDate), 1033, 'dd MMMM yyyy')
Which shows 04 January 2010 for 01/04/2010 and, doesnt show unresolvable dates such as 31-Dec-2010.
This applies even with a simnple =[Modified] formula
The Server is set up in the US for that locale.
could you change the formula as simnple =[Today] and check doest it works?
please try with the below formula
=IF(NOT(ISBLANK([Modified])),DAY([Modified])&" "&TEXT([Modified],"mmm")&" "&YEAR([Modified]),"")
And it is working fine for me. Pls try it and let me know what you are getting.

Resources