Unanswered question

Can I customize timestamp format?

Hi,

I need to use timestamp that looks like (YYYY-MM-DDTHH:MM:SSZ) ex: 2015-02-17T18:57:13Z. Is it possible to use the currentMilliSeconds and convert that timestamp to a customized format? If not, would you recommend a solution to end up with such a timestamp?

Harvinder G.
Harvinder G.

Harvinder G.

Level
0
1 / 100
point

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

You can easily create a date variable with such format in NeoLoad. Go to the Variable manager and create a "Date" variable.

In the date pattern field use that pattern: yyyy-MM-dd'T'hh:mm:ss'Z'

You can check the format result by using the "Test" button in the variable manager panel.