# AppleScript: convert long date text string into AppleScript date

**URL:** https://discourse.devontechnologies.com/t/applescript-convert-long-date-text-string-into-applescript-date/67180
**Category:** DEVONthink
**Tags:** automation
**Created:** [October 13, 2021, 3:44pm UTC](https://discourse.devontechnologies.com/t/applescript-convert-long-date-text-string-into-applescript-date/67180 "2021-10-13T15:44:59Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![Stephen\_C](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/stephen_c/32/8107_2.png) [@Stephen\_C](https://discourse.devontechnologies.com/u/Stephen_C)
#### Post date: [October 14, 2021, 8:23am UTC](https://discourse.devontechnologies.com/t/applescript-convert-long-date-text-string-into-applescript-date/67180/6 "2021-10-14T08:23:32Z")

</div>

\<Sigh\>. Of course, a little research on the forum would have revealed [an infinitely more efficient way of doing this](https://discourse.devontechnologies.com/t/renaming-change-date-format-from-custom-metadata/65958/4) and would have saved much anguish.

On the bright side, I’ve learned odds and ends along the way!

Stephen

---

_[View the full topic](https://discourse.devontechnologies.com/t/applescript-convert-long-date-text-string-into-applescript-date/67180)._
