You are here

Problems when reading time using pattern

2 posts / 0 new
Last post
martin85
Offline
Joined: 3 months
Last seen: 3 months
Problems when reading time using pattern
Quote:

index_start.scrub {multi(debug,type=regex,pattern="HHmmss")||"program_stime":"(\d{6})"||}
index_stop.scrub {multi(type=regex,pattern="HHmmss")||"program_etime":"(\d{6})"||}

In the above code if the time below 24 hours the pattern works properly, but when it is above 24 hours up then an error occurs.

What about the solution?

Attachments: 
mat8861
Offline
WG++ Team memberDonator
Joined: 4 years
Last seen: 9 hours

Or you can replace index_start.modify{replace|24:00|00:00} and stop of course

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl