397
Views
7
Comments
input calendar
Question

Hi all,

Instead of current date i need to dispaly (dd/mm/yyyy) format and i am using input calendar .

please find the attached file.


Regards,

Ronan


input_cal.png
2020-08-26 14-54-58
Raghuram kamath

Use FormatDateTime()  Inbuilt in outsytems.


Aslo the Input Widget has Format option

UserImage.jpg
Ronan T

coder kamath wrote:

Use FormatDateTime()  Inbuilt in outsytems.


Aslo the Input Widget has Format option


Hi,

That is date format,which we can see in the browser..not prompt value.


UserImage.jpg
Tamil Mathi P

Try this,


FormatDateTime(CurrDate(),"dd-MM-yyyy")

UserImage.jpg
Ronan T

Tamil Mathi P wrote:

Try this,


FormatDateTime(CurrDate(),"dd-MM-yyyy")

Hi Tamil,

Its not working.

Thanks,

Ronan T.



UserImage.jpg
Tamil Mathi P

Hi Ronan,

Try like this,


2021-04-09 11-42-43
assif_tiger
 
MVP

Ronan T wrote:

Hi all,

Instead of current date i need to dispaly (dd/mm/yyyy) format and i am using input calendar .

please find the attached file.


Regards,

Ronan

https://www.outsystems.com/forums/discussion/32892/how-to-format-date-time/

Refer this Post, It will help you :)

2020-09-17 01-03-04
Koushik Prathi

Hi Ronan,

Take the variable of data type text to save the date value and set the date format to "%d-%m-%Y" in the input_calendar widget,then it will work.

Regards,

Koushik

calendar.png
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.