cancel
Showing results for 
Search instead for 
Did you mean: 
marduk
Level 9

use datetime to autoexpire a rule in wgv7

Jump to solution

hi,

can anyone advise me how I can use datetime  to write a rule condition that will expire on a future day. e.g 30 March 2013

Thanks

0 Kudos
1 Solution

Accepted Solutions
McAfee Employee

Re: use datetime to autoexpire a rule in wgv7

Jump to solution

Hi Marduk,

You can use epoch time to do this:

http://www.epochconverter.com/

1364601600 = march 30 2013

(dont use this, but it's an example)

Name: Start blocking if its after March 30 2013

Criteria: Date.Time.ToNumber less than 1364601600

Action: Block

Best,

Jon

0 Kudos
2 Replies
McAfee Employee

Re: use datetime to autoexpire a rule in wgv7

Jump to solution

Hi Marduk,

You can use epoch time to do this:

http://www.epochconverter.com/

1364601600 = march 30 2013

(dont use this, but it's an example)

Name: Start blocking if its after March 30 2013

Criteria: Date.Time.ToNumber less than 1364601600

Action: Block

Best,

Jon

0 Kudos
marduk
Level 9

Re: use datetime to autoexpire a rule in wgv7

Jump to solution

Many thanks Jon

0 Kudos