# Update of Current VBS Script, by @DetlevD, to Change Windows File Properties "Created" date

**URL:** https://community.mp3tag.de/t/update-of-current-vbs-script-by-detlevd-to-change-windows-file-properties-created-date/57153
**Category:** General Discussion
**Created:** [April 28, 2022, 1:25am UTC](https://community.mp3tag.de/t/update-of-current-vbs-script-by-detlevd-to-change-windows-file-properties-created-date/57153 "2022-04-28T01:25:25Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [April 28, 2022, 8:14am UTC](https://community.mp3tag.de/t/update-of-current-vbs-script-by-detlevd-to-change-windows-file-properties-created-date/57153/2 "2022-04-28T08:14:20Z")

</div>

AFAI understand the script it takes, as DetlevD states

> [@File-Datum zuweisen / aus Tag generieren](https://community.mp3tag.de/t/file-datum-zuweisen-aus-tag-generieren/15970/4):
>
> %\_file\_mod\_datetime% in Format "yyyy-mm-dd hh:mm:ss"

the VBS script should return a valid result as

> [@File-Datum zuweisen / aus Tag generieren](https://community.mp3tag.de/t/file-datum-zuweisen-aus-tag-generieren/15970/4):
>
> Tag-Feld mit dem Namen LAST\_FILE\_MOD\_DATETIME

is filled.  
Who fills that field? I think that would be you, the user. So you have all the options to adapt any input to match the required format. And once you have adapted the contents of LAST\_FILE\_MOD\_DATETIME the existing script should work.  
Which means: you have to take care about the daylight saving times and add or subtract 1 hour. Also you have to remove any "T" or trailing letters.  
And all this could achieved with actions that you execute prior to calling the VBS script

---

_[View the full topic](https://community.mp3tag.de/t/update-of-current-vbs-script-by-detlevd-to-change-windows-file-properties-created-date/57153)._
