Skip to main content
Nintex Community Menu Bar
Solved

How can I set a field to current date/time

  • May 21, 2018 1:34 AM UTC
  • 4 replies
  • 1367 views
  • Translate All

This is probably simple, but I'd just like to set a field to the date and time when an action on the workflow ran to update a date/time field.  I tried using the 'Set Time Portion of Date/Time field' operation, but it seems I need to set a specific time and cannot select 'current time'.

 

Can anyone help?

Best answer by Chris_Ben

Hi Nathan,

You can use the "Add Time to Date" action.  Just add zero to it.  You can use the current date/time as per the image below.

Cheers,

Chris

View original

4 replies

Chris_Ben
Nintex Employee
Forum|alt.badge.img+14
  • Nintex Employee
  • Answer
  • May 24, 2018 6:07 AM UTC

Hi Nathan,

You can use the "Add Time to Date" action.  Just add zero to it.  You can use the current date/time as per the image below.

Cheers,

Chris

Translate

Thanks Chris,

Isn’t the 0 to mark 12:00 midnight? I’d like to set the current time instead

Translate

Chris_Ben
Nintex Employee
Forum|alt.badge.img+14
  • Nintex Employee
  • May 24, 2018 6:18 AM UTC

I tested it just before I posted the reply.  It's using the current date and time.  I'll also check it tomorrow to see whether it does anything strange overnight

Translate

Chris_Ben
Nintex Employee
Forum|alt.badge.img+14
  • Nintex Employee
  • May 25, 2018 12:23 AM UTC

Hi Nathan, tested it again today just now and the current date/time is saved so you're all good to use the Add time to date action.

Cheers,

Chris

Translate