# Using Date variable in Event Log search - not working

**URL:** <https://www.finalbuilder.com/forums/t/using-date-variable-in-event-log-search-not-working/4522>\
**Category:** Discussion\
**Created:** [November 22, 2012, 10:27am UTC](https://www.finalbuilder.com/forums/t/using-date-variable-in-event-log-search-not-working/4522 "2012-11-22T10:27:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hugo.grimes](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/h/82dd89/32.png) [@hugo.grimes](https://www.finalbuilder.com/forums/u/hugo.grimes)\
**Post date:** [November 22, 2012, 10:27am UTC](https://www.finalbuilder.com/forums/t/using-date-variable-in-event-log-search-not-working/4522/1 "2012-11-22T10:27:09Z")

</div>

Hi - I am trying to use a variable (Weekago) in an event log search action.

I want to scan the event log from the previous 7 days.

I have setup a variable as a date and formeted it so it is dd/mm/yyyy.

When I try to enter the varable into the Event search , search from box it takes the variable but then as I click OK I see it revert to the previous hardcoded date.

Am I missing someting ? or do varibles not work on these fields ?

Best regards

Hugo Grimes

PS thanks for a great product - it saves me sooooo much time :)

&nbsp;
