Jump to content
  • 0

Insert current date automatically


Question

6 answers to this question

Recommended Posts

  • 0

Hi Batchini,

You can achieve that by following the steps below.
1. Add a field in the table and set the Data Type to 'Formula'.
2. On the right pane of your Formula field, in the Options section, click Edit and paste this code: CAST([@field:Date] AS DATE). Please make sure to change the field name.
3. Create a Triggered action that will update the date with the formula field.
4. Create a Task that will automatically insert the current date on your table daily.

Please see attached file for reference.
 

 Triggered.png.5d4b445e239d9f2681c831041aa753e6.pngtask.png.763335ee81dd211a3f997c6ddd92753c.png

 

I hope it helps.

Regards,
Barbie

Link to post
Share on other sites
  • 0
Quote

In addition, you may also just setup your Task in such way presented below so you won't need to specify a Trigger. *Pick your poison =D.

image.thumb.png.c26eb017680039f6b8664f71b17859d5.png

This workflow subtracts hour:minutes:seconds to whatever the value of Timestamp is so that it only retains the date part of the timestamp.

The solution above mostly works, but we ended up having to subtract milliseconds as well.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...