Answered by:
Date time variable time and seconds

Question
-
Any suggestion how to show date time variable formatted YYYY.MM.DD HH:MM:SS in CRM web form?
Monday, October 24, 2011 11:45 AM
Answers
-
To change it for the entire organization, go to Settings > Administration > System Settings.
Click on Formats and on Customize. Select the Date tab and there you can select any date format you want.
To change it only for the current user, go to File > Options > Formats and change it there.
Hope this helps.
Nabanita Majumdar- Proposed as answer by Nabanita MajumdarMicrosoft employee Thursday, January 12, 2012 11:42 PM
- Marked as answer by DavidJennawayMVP, Moderator Friday, February 10, 2012 10:12 PM
Thursday, January 12, 2012 11:42 PM -
Hi,
do you want all date time variable of your system to be formatted as "YYYY.MM.DD HH:MM:SS" , you shoudl go to the setting and changed the format as Nabanita Majumdar said.
But if you want that only one variable of your System will be formatted as "YYYY.MM.DD HH:MM:SS" you can achieve this by doing like this:
- create an input field in your form with a type text
- Set an javascript function on the Onchange event of this variable that will automatically format the datetime that the user wrote, iyou can as well use some javascript datetime function to do it
Please mark as answer and vote as helpful if this post helpeld you
Thanks
Be wise- Marked as answer by DavidJennawayMVP, Moderator Friday, February 10, 2012 10:12 PM
Monday, January 16, 2012 10:56 PM
All replies
-
To change it for the entire organization, go to Settings > Administration > System Settings.
Click on Formats and on Customize. Select the Date tab and there you can select any date format you want.
To change it only for the current user, go to File > Options > Formats and change it there.
Hope this helps.
Nabanita Majumdar- Proposed as answer by Nabanita MajumdarMicrosoft employee Thursday, January 12, 2012 11:42 PM
- Marked as answer by DavidJennawayMVP, Moderator Friday, February 10, 2012 10:12 PM
Thursday, January 12, 2012 11:42 PM -
Hi,
do you want all date time variable of your system to be formatted as "YYYY.MM.DD HH:MM:SS" , you shoudl go to the setting and changed the format as Nabanita Majumdar said.
But if you want that only one variable of your System will be formatted as "YYYY.MM.DD HH:MM:SS" you can achieve this by doing like this:
- create an input field in your form with a type text
- Set an javascript function on the Onchange event of this variable that will automatically format the datetime that the user wrote, iyou can as well use some javascript datetime function to do it
Please mark as answer and vote as helpful if this post helpeld you
Thanks
Be wise- Marked as answer by DavidJennawayMVP, Moderator Friday, February 10, 2012 10:12 PM
Monday, January 16, 2012 10:56 PM -
If I want to show second in time format, what I should to do, in System Setting, no second mask exits!
John
Monday, June 18, 2012 5:18 PM