Automator: copy modification date to file creation date - date

I want to create an automator service to change the file creation date of the selected finder files to the modification date. How can I do it? I'm new on Mac.

Related

filter by last modified is not working copying files from azure blob

I have setup a copy pipeline, which is working fine.
Now I have tried to add a filter with last modified, but it is not working.
my filter
enter image description here
a sample file it should detect
enter image description here
it doesn't detect any files
enter image description here
this is the pipeline without the filter
enter image description here
I got similar kind issue with last modified filter using copy activity.
Make sure your date is of type UTC as like below, if not convert it into UTC like below :
The above will only read the files if they are in that time period of UTC.
Add this dynamic content filter by modified as per your required date.
#convertToUtc('01/10/23', 'Pacific Standard Time')
Try this alterative approach using get metadata.Follow this SO thread by Rakesh Govindula .
Hi you can use Azure Dynamic Functions like Addmintues so if your file was written two minutes ago it can detect by searching in Minutes and adding utcnow and -2 represent last two minutes. You can also add Days and Hours as well.
Let me know if this help otherwise same can be done with Get metadata Activity in azure

Automatic date in word shouldn't update after the document is saved

Is possible to make a MS Word (2016) template which automatically adds the date, but doesn't update the date after the document is saved?
I can add a date field to the template: menu Insert>Date&Time, checking "Update automatically", and save it as a template, but if I create a document with that template, and I edit it another day, the date is updated, and I need the creation date to persist.

Dynamic filename with current date in jasper reports

How can I append current date to the end of filename when i export reports from JasperReports Server?
For example if filename is orders, then i need to get the filename as orders_13-06-2018.xls if i export it today and orders_12-06-2018.xls if i export it tomorrow and so on.
I have tried using scheduler in JRS but it shows only date for a particular time.
This solutions are not working:
https://community.jaspersoft.com/questions/914536/netsfjasperreportsexportxlssheetname-usable
https://community.jaspersoft.com/questions/515739/jasper-report-download-file-name

Tableau String to Date Time Format Issues

I am pulling in date information via MySQL and the date is in the string format of "MM/dd/YY hh:mm:ss"
Using the built in conversion to date isnt working; so I tried using DATEPARSE and also using DATE and manually parsing it. I have had no luck and I have no idea why I keep getting "null" as the answer or it is putting the month as year, day as month, and year as day.
See screenshots below for the different formulas I have used:
DATEPARSE
Original date format
DATE with manual parsing
This worked for me using your example original data
DATEPARSE('mm/dd/yy hh:mm:ss',[Time] )
I used tableau's documentation of custom date formats to find the right formula for the format.
If this doesn't solve the problem then it is most likely due to a Locale issue. The Dateparse function relies on the locale specified by your computer settings to interpret and then display the strings you want to convert and can affect whether a certain format can be specified. This means that if a certain format is not recognised it will return a null. This will often occur is the windows region and language format is changed to another language other than the original language the workbook was created it.
So check your locale and if required execute the following workaround (documented by tableau here):
Open Windows control panel > region and language > format
Click format dropdown and change to original language of workbook creation
click ok or apply and reopen tableau work book

Change date from MM/DD/YYYY to mmddyyyy in Notepad/Notepad ++

I am a novice at coding and running scripts and was wondering the following;
Context: I run scripts in one of my companies programs to create customer service tickets.
Question: Is it possible to automatically update the date for a line of code in a script to the current day's date in MMDDYYYY format?
As of now I manually go and change the date for each script every day.
EX of (part of) script:
send "TKTE/R02252016"
Is there a way to automatically update the "02252016" to the current day's date?
I currently use Notepad/Wordpad for the scripts but can get Notepad++ if this is a possibility.
Thank you for your time and insight.
Within Notepad++, you can search by means of a regular expression.
Search for TKTE/R\d{8} and replace it with TKTE/Rmmddyyyy, where mmddyyyy is the current date.