# Advanced date functions

**URL:** https://www.finalbuilder.com/forums/t/advanced-date-functions/4760
**Category:** Feature Requests
**Created:** [January 28, 2010, 2:17am UTC](https://www.finalbuilder.com/forums/t/advanced-date-functions/4760 "2010-01-28T02:17:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [January 28, 2010, 2:17am UTC](https://www.finalbuilder.com/forums/t/advanced-date-functions/4760/1 "2010-01-28T02:17:42Z")

</div>

A simple interface that would allow you to set a variable with a date based on such things as today, yesterday, today - #days, day of week, day of month, etc.

---

<div class="post-metadata">

### Author: ![sexy-trousers](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sexy-trousers/32/97_2.png) [@sexy-trousers](https://www.finalbuilder.com/forums/u/sexy-trousers)
#### Post date: [March 1, 2010, 2:29am UTC](https://www.finalbuilder.com/forums/t/advanced-date-functions/4760/2 "2010-03-01T02:29:03Z")

</div>

I&nbsp;was thinking of something similar also, perhaps allow simple date based calculations - something like DATEADD&nbsp;in SQL where you can add or subtract days, weeks, months etc.

It would be nice to be able to "force a type" when using a "set variable" action to a date/time - even if it internally just did validation for various date/time formats and still held it as a variant...

TJ
