yvette
Cloud Wanderer

Culture and date format for converting date string to date?

In my workflow I need to convert a date string into a date. The input language is Dutch ("maart" being "March"). 

What did I not configure right? I'm getting a conversion error saying the input value does not match the date format. (I looked up the culture at http://www.basicdatepicker.com/samples/cultureinfo.aspx)

The conversion works fine with English language input:

0 Kudos
Reply
3 Replies
pwarrak
Nintex Newbie

Re: Culture and date format for converting date string to date?

Hi,

Please have a look:

 

0 Kudos
Reply
yvette
Cloud Wanderer

Re: Culture and date format for converting date string to date?

I've seen this, thanks! I also looked at Custom Date and Time Format Strings | Microsoft Docs.

I realise these are all examples for date to string conversions, of course I'm trying to convert string to date. Maybe the culture only applies to the output date and not the input? 

It is my understanding that I should be able to combine custom fomat specifiers. The format d MMMM yyyy is not bound to one culture specifically.

0 Kudos
Reply
pedroguedes
Canvas Initiate

Re: Culture and date format for converting date string to date?

Can you have  the date in other Languages? in Dutch?

It is possible to add an Culture option? 

I need the function convertToString(datenow()) in Portuguese : "segunda-feira, 07 de junho de 2021"

0 Kudos
Reply