cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

1004
Views
5
Helpful
3
Replies
Bill Slobodnik
Beginner

Add timestamp using variable

Date stamp was easy to create using a custom format variable, but I cannot see how to do the same for a time stamp.  I would need a time stamp format without colons or slashes that would be rejected as a filename.  

Can a custom format Time variable be created?  Or has anyone created a job which adds timestamps to files?   I can script it of course, but looking for a clean all purpose time stamp process.

thanks        

1 ACCEPTED SOLUTION

Accepted Solutions
Marc Clasby
Beginner

For a file stamp the tidal system date is easy solution (you can use any date type variable)

Tidal Variables

Use system time (typically you add via variable button)

Take and remove :

and you will just get the numbers

use that as a tag to job

if you use Powershell you could use the get-date function as well depending ans format it depending on what you want to do.i

Marc

View solution in original post

3 REPLIES 3
Marc Clasby
Beginner

For a file stamp the tidal system date is easy solution (you can use any date type variable)

Tidal Variables

Use system time (typically you add via variable button)

Take and remove :

and you will just get the numbers

use that as a tag to job

if you use Powershell you could use the get-date function as well depending ans format it depending on what you want to do.i

Marc

View solution in original post

Thanks Marc.   I did not realize I could actually edit the variable format once it was added to the job.  Too easy!

Thanks Marc!!! I owe you a beer

Content for Community-Ad
This widget could not be displayed.