There is Time function. Read about it

Just the other day I needed to do the same. I created java request and put
this function in there
${__time(,sdate)}

so i get current date in sdate variable here

But you can control date format in this function and alos make it custom.
All this can be found in docs.

On Tue, Sep 6, 2011 at 2:38 PM, sbhosale <sandeep.bhos...@gmail.com> wrote:

> Hi all,
>
> In my application i have date field. I want to take the today's date in
> this
> field. So whenever I run the script it should not fail. Anybody has any
> ideas How do I do it. Any ideas.
>
> Thanks,
> Sandeep
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/How-to-parameterize-the-date-tp4774037p4774037.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>

Reply via email to