I have a file that contains start and end times for processes:
Start BatPrcsDrvr.pl CAEXPENS 1 2009-05-05 01:05:52
End BatPrcsDrvr.pl CAEXPENS 1 Successfully 2009-05-05 01:05:53
Start BatPrtnDrop.pl CAEXPENS 1 2009-05-05 01:06:12
End BatPrtnDrop.pl CAEXPENS 1 Successfully 2009-05-05 01:15:29
Start BatBackup.pl CAEXPENS 1 2009-05-05 01:21:11
End BatBackup.pl CAEXPENS 1 Successfully 2009-05-05 01:25:57
I want to take the time stamp on the End line and compare it to the time stamp on the start line to get the elapsed time. I am working on this now but not getting very far so any tips would be appreciated. I will repost if I figure it out first.
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions.
Consider email address RFCs:
Look at HTML5 form input element (with type=email) regex pattern: