How to fetch current time in hh:mm formate from current date and time

0
there are two column in my report one is for current date and other is for current time ...I am able to show current date in one column but not able to show current time in another....     please anyone help me 
asked
2 answers
2

Hi, Akhilesh Yadav

 

  • Create Microflow:

    • Add  a Create Object activity to create a new object of the relevant entity.
    • Add  a Change Object activity to set the CurrentTime attribute.
    • Use the CurrentDateTime function to get the current date and time.
    • Use the formatDateTime function if needed to format the time portion.

 

  • Microflow Logic:  $currentTime = formatDateTime([%CurrentDateTime%], 'HH:mm:ss')

 

In the Change Object activity, set the CurrentTime attribute to $currentTime

answered
0

image.png

Try the setting above on your grid or on your input

 

answered