# Data conversion challenge- going from text to date field

**URL:** <https://forum.bubble.io/t/data-conversion-challenge-going-from-text-to-date-field/24364>\
**Category:** Database\
**Created:** [February 12, 2018, 8:39pm UTC](https://forum.bubble.io/t/data-conversion-challenge-going-from-text-to-date-field/24364 "2018-02-12T20:39:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dwsmgr](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/dwsmgr/32/3062_2.png) [@dwsmgr](https://forum.bubble.io/u/dwsmgr)\
**Post date:** [February 12, 2018, 8:39pm UTC](https://forum.bubble.io/t/data-conversion-challenge-going-from-text-to-date-field/24364/1 "2018-02-12T20:39:04Z")

</div>

I have been trying to find a solution for what should be simple issue… I have a table with 900 records, I want to convert a text field which contains date information (mmm/dd/yyyy) to a date field. I though I could simply create a workflow to copy content from text field date field (update a list of things). That doesn’t work - I get error message because of the difference in field types. I can export the data and fix it outside of Bubble. But I know there is a workflow solution that I am over looking. Any suggestions?

---

<div class="post-metadata">

**Author:** ![seanhoots](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/seanhoots/32/12224_2.png) [@seanhoots](https://forum.bubble.io/u/seanhoots)\
**Post date:** [February 12, 2018, 9:44pm UTC](https://forum.bubble.io/t/data-conversion-challenge-going-from-text-to-date-field/24364/2 "2018-02-12T21:44:23Z")

</div>

Does this thread help?

> [@Convert text to date](http://forum.bubble.io/t/convert-text-to-date/20784):
>
> I wish to extract 3 numbers from different positions in a string and use these to form a date. Using combinations of truncate and truncate to I can extract the numbers, but I am sure there must be a more elegant way to do this. Previous suggestion was to use “Extract with regex”, which requires me to learn the rather arcane regex conventions, so I am sticking with truncate for now… My real problem is how to convert these extracted numbers to a date which I can then display as the initial conten…

---

<div class="post-metadata">

**Author:** ![dwsmgr](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/dwsmgr/32/3062_2.png) [@dwsmgr](https://forum.bubble.io/u/dwsmgr)\
**Post date:** [July 10, 2018, 2:32pm UTC](https://forum.bubble.io/t/data-conversion-challenge-going-from-text-to-date-field/24364/3 "2018-07-10T14:32:50Z")

</div>

Sorry for delay. Didn’t mean to be unresponsive to you taking the time to post. Yes it helped. Thanks!
