# Possible to copy iphone images with correct creation date, or rename to correct creation date?

**URL:** https://resource.dopus.com/t/possible-to-copy-iphone-images-with-correct-creation-date-or-rename-to-correct-creation-date/46634
**Category:** Help & Support
**Created:** [October 25, 2023, 5:36pm UTC](https://resource.dopus.com/t/possible-to-copy-iphone-images-with-correct-creation-date-or-rename-to-correct-creation-date/46634 "2023-10-25T17:36:51Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![lxp](https://resource.dopus.com/user_avatar/resource.dopus.com/lxp/32/33734_2.png) [@lxp](https://resource.dopus.com/u/lxp)
#### Post date: [October 25, 2023, 6:38pm UTC](https://resource.dopus.com/t/possible-to-copy-iphone-images-with-correct-creation-date-or-rename-to-correct-creation-date/46634/4 "2023-10-25T18:38:32Z")

</div>

You can use an add-in ([ExifTool Custom Columns](https://resource.dopus.com/t/exiftool-custom-columns/38975)) if you want almost all metadata or a script column that reads the shell property `System.Photo.DateTaken`. Or Opus v13 - it provides a dialog for this 🙂

Here's the column:

```javascript
function OnInit(initData) {
    initData.name = 'SystemPhotoDateTaken';
    initData.version = '2023-10-25';
    initData.url = 'https://resource.dopus.com/t/possible-to-copy-iphone-images-with-correct-creation-date-or-rename-to-correct-creation-date/46634';
    initData.desc = 'Retrieves System.Photo.DateTaken from the Shell';
    initData.default_enable = true;
    initData.min_version = '12.0';
}

function OnAddColumns(addColData) {
    var col = addColData.AddColumn();
    col.name = 'SystemPhotoDateTaken';
    col.justify = 'left';
    col.type = 'datetime';
    col.autogroup = true;
    col.method = 'OnColumn';
}

function OnColumn(scriptColData) {
    var dateTaken = scriptColData.item.ShellProp('System.Photo.DateTaken');
    scriptColData.value = DOpus.TypeOf(dateTaken) == 'object.Date' ? dateTaken.FromUTC() : '';
}

```

1️⃣ Save [ColumnSystemPhotoDateTaken.js.txt](https://resource.dopus.com/uploads/short-url/6WQ2tC793zitb2PfDEbhkyM1OVL.txt) to   ↓

```plaintext
%appdata%\GPSoftware\Directory Opus\Script AddIns

```

2️⃣ Toggle the column with

```plaintext
Set COLUMNSTOGGLE="scp:SystemPhotoDateTaken/SystemPhotoDateTaken(!,a,0)"

```

You'll find the column in the Advanced Renamer as well.

* * *

[How to use buttons and scripts from this forum](https://resource.dopus.com/t/how-to-use-buttons-and-scripts-from-this-forum/3546)

---

_[View the full topic](https://resource.dopus.com/t/possible-to-copy-iphone-images-with-correct-creation-date-or-rename-to-correct-creation-date/46634)._
