# Help With FileSet Date Filter

**URL:** https://www.finalbuilder.com/forums/t/help-with-fileset-date-filter/1085
**Category:** Discussion
**Created:** [January 23, 2009, 7:01am UTC](https://www.finalbuilder.com/forums/t/help-with-fileset-date-filter/1085 "2009-01-23T07:01:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jonrobertson](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/d2c977/32.png) [@jonrobertson](https://www.finalbuilder.com/forums/u/jonrobertson)
#### Post date: [January 23, 2009, 7:01am UTC](https://www.finalbuilder.com/forums/t/help-with-fileset-date-filter/1085/1 "2009-01-23T07:01:33Z")

</div>

I'm using the "Get File/Folder Date" action to get the date/time of a file and currently setting it to a variable.&nbsp; I'm then using that variable in a FileSet Date filter (putting the variable in the "or this date/time (supports FB Variables)" property).

The FileSet throws the error "Error converting string to date/time: 'Thu Jan 22 23:13:59 CST 2009' is not a valid date and time".

I can use the OnGetDate event of "Get File/Folder Date" and format the date/time manually.&nbsp; But what date/time format should I use?

Thanks

&nbsp;

&nbsp;

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [January 27, 2009, 2:27am UTC](https://www.finalbuilder.com/forums/t/help-with-fileset-date-filter/1085/2 "2009-01-27T02:27:07Z")

</div>

Hi Jon   
  
 I believe this should be the system short date time format- I just tested this with 22/01/2009 23:13:59 (my short date format is set to dd/mm/yyyy hh:nn:ss ) and it worked as expected. I’ll make a note to get this documented properly.
