Hide TimeZone showing on DateTime field in CRM - dynamics-crm

The date time fields of our CRM instance are showing date along with time and timezone. This is happening since today. Not able to figure out what setting could have been changed to bring this behaviour.
Can anyone shed any light on why this would be happening?

Related

Kendo datepicker randomly not showing calendar to change date

I have 2 Kendo UI date pickers on my page to select the start and end date of a date range. On random page loads in these 2 date pickers, one becomes not responding. That is, the calendar is not showing up when clicking on the icon to select a date. This issue mostly happening in chrome.
This issue is resolved. This was due to a code issue where controls are binding 2 times. Corrected the code and binding bring down to 1 time and the issue got resolved. So anybody facing a similar issue please validate this scenario too as a step to resolve.
Thank you very much.

Milestone rendering in Kendo Gantt chart

Working with Kendo Gantt chart to show milestone in the chart. The chart shows it as a task type. The setting for milestone type task is start and end date is same. Please let me know if there is any other setting we need
It was a code issue. The start date and end date were saved the same. However before binding the time for the end date was changed to 23:23:59, and that's why it was not displayed as a milestone. Fixed the date and time to be the same, and the milestone started showing.

UIPath - Find OCR text position and selecting a day from the calendar

I was trying to grab a website calendar from UiPath. But when I use the Find OCR Text Position or Click OCR text activity in the UiPath Software, it will not give me the exact date that I want to select.
I want to do one thing only: I need to determine today's date, select the date, and press OK.
I figured out how to calculate today's date:
But now I only have to do, is selecting numbers, Please help me to figure this out. Thanks in advance.
Since we don't know much about the front-end framework you're planning to use, here's a generic approach using a relative selector. Note that I hard-coded the day (15), and I didn't check whether the correct month or year is displayed, but this should at least get you started.
My approach uses a simple click activity with the variable day being part of the selector. There's another click activity associated with opening the picker in the first place, but as said - this is just related to the front-end framework.
It looks like DateTime_Today is a DateTime type variable in your screenshot, which has a very useful ToString method see documentation on it here: https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tostring?view=netframework-4.7.2 which will allow you to extract the number that you are looking for.
You would need to create a string variable and assign the value to DateTime_Today.ToString("dd") to get only the day of the month.
The issue with this approach, however, is then creating the image for the OCR to look for in the calendar. I think a more reliable way of approaching this issue would be to determine what date is selected by default when clicked and then sending some combination of hotkeys such as tab and the directional keys to get to the date which is required for the automation. A get text or get attribute activity might also help determine what date is currently selected, so you would then know how many boxes will need to be traversed to get the required selection.
If you are still having issues please provide a link to the page which you are trying to automate as well as some (sanitized) code snippets containing what you have already tried and we will be able to assist you further. Cheers!

Windows Phone Date Picker Submit event

I have a native Date Picker in a windows phone app.
Using the DateChanged event I can perform actions when the user submits.
DatePicker.DateChanged += (o, args) =>
{
var date = args.NewDate;
// Do something with it
}
The problem I am facing is the event is not triggered if the user submits the date picker without changing the date.
Default value is set to today's date which makes it impossible to select this date.
Does anyone know how I can allow the user the select this date and perform actions after ?
Thanks for your help :)
There is no particular way of getting an event fired when the date is not changed. As you said the date picker by default selects the current date, you can perform the action you want to if the user selects today's date in the OnNavigatedTo, Loaded, or DatePicker_Loaded event. A better way to do so is providing the DatePicker an invalid date something like 1Jan1947, this ways the user has to change the date else it'll be invalid. Also if you write the code you want on dateChanged event, it'll fire automatically as when the DatePicker is Loaded it sets the date from default to the current date.
What I would recommend
is to use a binding property to hold a value and then performing the
operations onPropertyChanged event of that property. This ways your
logic is independent of your datePicker and you could write events
for each time the dateTime property changes.
Do remember to bind the datePicker's date property to the DateTime
property in a TwoWay Mode and an UpdateSourceTrigger of
PropertyChanged. This ways when you change the property from code
behind the data would reflect in the datePicker and when you change
the value in the datePicker, the data would be reflected in the code
behind as well

.NET 2013 RDLC Reports, Date Formatting

I have created a report in RDLC (using Visual Studio 2013). in which I have a date field. I wanted to display the date field as 01-Jan-2015. Hence I have formatted the date field using Format(Fields!LICDate.Value,"dd-MMM-yyyy").
However, I get a varied output in the date field. For some date the date is formatted correctly, for example the records having the date as 28th November 2015 are displayed as 28-Nov-2015, but some records this displays weird characters. Like, if the date is 1st October 2018, it shows 01-OcA-2018, for 1st March 2016, it shows 01-3ar-2016
I have browsed through web and got various links that show examples of date formatting in RDLC and almost all the links suggest using of Format and some links have suggested using .ToString("dd-MMM-yyyy"). I tried both the suggestions but the result is the same.
Am at loss on what has actually happened. The data in the database records is correct and whn I display int he DataGridView it shows correctly. This problem occurs in RDLC reports only that too for a few records only.
Any suggestions or links to solutions for similar problems are welcome.
Instead of using Format, try to right click on that text box and go to Properties/Number, then select Custom from Category and in Custom Format enter dd-MMM-yyyy.
This should fix your problem.
Here is link that can help you: VS report designer 2005-date format with MMM

Resources