No way to insert date modified as UTC time with time zone in Advanced Rename...?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
nikov
Posts: 131
Joined: Fri Dec 24, 2021 10:31 am

No way to insert date modified as UTC time with time zone in Advanced Rename...?

Post by nikov »

Hi,
Is there any way to insert date modified as UTC time with time zone using advanced rename in the following format?
yyyyMMdd\THHmmssZ

Currently, Advanced Rename has an option to insert date modified but without UTC and time zone.

Many thanks for your consideration.
void
Developer
Posts: 16671
Joined: Fri Oct 16, 2009 11:31 pm

Re: No way to insert date modified as UTC time with time zone in Advanced Rename...?

Post by void »

Format the filetime with format-filetime-utc:

For example:

<formatfiletimeutc:$date-modified:,"yyyyMMdd\THHmmss\Z">



If you wish to keep the local time, use a timezone offset.

For example:

<formatfiletime:$date-modified:,"yyyyMMdd\THHmmss+0930">

ISO8601
nikov
Posts: 131
Joined: Fri Dec 24, 2021 10:31 am

Re: No way to insert date modified as UTC time with time zone in Advanced Rename...?

Post by nikov »

void wrote: Sat Apr 29, 2023 3:06 am Format the filetime with format-filetime-utc:

For example:

<formatfiletimeutc:$date-modified:,"yyyyMMdd\THHmmss\Z">



If you wish to keep the local time, use a timezone offset.

For example:

<formatfiletime:$date-modified:,"yyyyMMdd\THHmmss+0930">

ISO8601

Many thanks for the prompt solution void. It worked as expected.
Post Reply