need Current date and time automatically

0
How I can get current date and time by using microflow or nanoflow or java how i can get or without using anything
asked
5 answers
3

Hi Sneha,

 

You can use a token called [%CurrentDateTime%]

answered
2

Hi sneha shete,

 

In mendix there are many datatime format function available , see more about   Xpath-Constraints 

DateFormatFuntions

 Xpath-Constraints-Funtions

 

Your query solution:

 

 [%CurrentDateTime%]

 

 

 

answered
1

Hi Sneha,

You could use format and parsing statements to format date time fields to string values, parse them back and extract time/date sections of combined date + time field. But like other already said, depending on the usecase there maybe easier possibilties, in my expierience splitting date and time isn't needed quite often.

 

See documentation.

https://docs.mendix.com/refguide/parse-and-format-date-function-calls/

answered
0

How i can see this if i want to apply particular attribute

answered
0

Can you explain your usecase? To me it looks like Bob gave the correct answer. If it does not fit your needs, we need more information.

answered