29
Views
4
Comments
Put the year, month, date, minute, second, and milliseconds in the input form
Question

Hello


I want to put the year, month, date, minute, second, and milliseconds in the input form in the DataTime type, but I don't know how to put it.


If anyone understands, I would appreciate it.


Hey @kazuma yamagata 

I am not sure reguarding the millisecond and Second but yes you can have the date and min.

Create the variable or attribute where you want to store with datatype DateTime. Please refer the OAP file.

Thanks 
Shlok Agrawal

Demo.oap

Hello


Thanks for the reply.


Let me ask you a question.


I could enter the date in the calendar, but I could not enter the time (hour, minute) in the form.


Did this use Forge?

No I didn't use any forge component, please refer to the file I have attached above for better understanding.

Thanks 
Shlok Agrawal

Champion

Hi @kazuma yamagata 

Use in built function NewDateTime() to create datetime with year,month,day,sec

Please refer to below link

https://success.outsystems.com/documentation/11/reference/outsystems_language/logic/built_in_functions/date_and_time/#NewDateTime

Thanks

Arun

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