# Agent for information

**URL:** <https://community.glideapps.com/t/agent-for-information/29981>\
**Category:** Ask for Help\
**Tags:** custom-code\
**Created:** [August 4, 2021, 11:33am UTC](https://community.glideapps.com/t/agent-for-information/29981 "2021-08-04T11:33:43Z")\
**Posts on this page:** 1\
**Showing post:** 85

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [September 2, 2021, 11:48pm UTC](https://community.glideapps.com/t/agent-for-information/29981/85 "2021-09-02T23:48:38Z")

</div>

I’m not following these date related threads very closely, so I’m not fully clear on what the issue is. I apologize if I’m way off track on this, but couldn’t you do a math column to make a numeric column in the format of YYYYMMDD, and then split that in the code and/or convert it to a valid date? If it’s for sorting, you wouldn’t even need to convert it to a valid date since the number would sort properly as a number or as a string. With this, there wouldn’t be a need to worry about the regional date format. The math column would always give you YYYYMMDD. But then again, I may have missed the entire point of this whole conversation.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/b/fba987f6e8466c06568876e056211218b4849ad0.png)

---

_[View the full topic](https://community.glideapps.com/t/agent-for-information/29981)._
