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 (216k 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

As you can see in the picture, we currently have three different formats as soon as we look at a user's data. Can this be adjusted so that only one format dd.mm.yyyy is displayed? Thank you very much

asked Nov 17, 2023 by DRiVSSi (320 points)
0 votes
1 answer

I realise that this has been asked a few times but I can't seem to get to resolution having read through previous advice. We have scheduled tasks set up to automatically ... /time region settings on all servers currently using Adaxes. They're all set to UK.

asked Apr 21, 2023 by Homelander90 (350 points)
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 Sep 27, 2022 by gazoco (490 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 (560 points)
3,588 questions
3,277 answers
8,303 comments
548,090 users