0 votes

Is it possible to change the date format to UK style when using attributes in email messages?

For example I am using %adm-CustomAttributeDate1% as a placeholder for a users start date, but this comes out as 06/01/2015 12:00:00 AM. Ideally this would be in the UK DD/MM/YYYY format (01/06/2015). I can live with the time being left it there if there isn't a way around it.

Kind Regards
Danny

by (200 points)

1 Answer

0 votes
by (215k points)
selected by
Best answer

Update 2018

Starting with version 2018.1, you can specify the format for value references related to date/time properties. For details, have a look at section Format of date/time value references of the following help article: https://www.adaxes.com/help/ValueReferences/#format-of-date/time-value-references.

Original

Hello Danny,

Currently, the format in which date/time value references are inserted in emails depends on the system locale on the computer where Adaxes service is installed. Thus, you can change the system locale to UK to change the date format in the value references.

Alternatively, you can send e-mails with the help of PowerShell scripts. For information on sending emails with scripts, see Sending Emails and SMS. In the script, you can get the date using the Get-Date built-in PowerShell cmdlet that provides you a variety of ways how to convert a date to a string. For more information, see Get-Date.

0

I've checked the system settings and everything is set to the correct locale for both the system defaults and for the service account which Adaxes is using. The date is still coming out in the incorrect format. Is there anything else I need to check?

0

Just a note on this in case anyone else gets the same problem.

This was resolved as the computer on which we were using the web interface (not the server where it was installed) was in a different locale.

Related questions

0 votes
1 answer

Hi, Following an update from Adaxes 2016 to 2021.1 we noticed that the date format on the email notifications is no longer English UK, but English US, i.e. ... every scheduled task/business rule that sends a notification and changing the variable? Thanks, Gary

asked 3 days ago by gazoco (430 points)
0 votes
1 answer

I would like to query the "Account Expires" field and output it as the default entry in description but I prefer the format Jun 7 2013 and not 06/07/13. There are just too many ways to understand 06/07/13 with staff from every imaginable country. Any ideas?

asked May 27, 2013 by It_helpdesk (280 points)
0 votes
0 answers

The language of Adaxes Web interface and the format used to display dates can be different depending on the signed in user. The language can be selected either automatically or ... default formats are: en-US for English, fr for French, and de for German.

asked Feb 10, 2021 by Adaxes (380 points)
0 votes
1 answer

Hi, I was just wondering if there was a way to force the format of the date picker value in the web approval interface. We have operation that are very time specific ... like that in the web interface. Example of the problem: Thank you, Jean-Simon Tremblay

asked Dec 3, 2021 by jsimon.tremblay (20 points)
0 votes
1 answer

I am setting up a few custom commands for office 365 incident responses so even our helpdesk users can help respond. One thing I wanted to do was have a powershell command ... . Is Adaxes a partial implementation of ft or is there another way to do this?

asked Dec 3, 2018 by jbadry (410 points)
2,801 questions
2,535 answers
6,605 comments
61,629 users