in reply to How to check last used date.
I think you're asking a little bit the wrong question. Why do you need a module that deals specifically with login date? That's specific enough that you won't find what you're looking for. You have two problems and they're not satisfied by a single module:
Your data looks like it is in column format. In other words, the login date is in a predictable column: Column 36 (offset +35). And your userid is in a predictable column: Column 1 (offset 0) So use substr or unpack to capture the user and the date. Skip lines that don't match (that have NOT REGISTERED in them). Then use a module such as DateTime to compare the dates, finding the most recent. Let us know what part of that you actually have trouble with so that we can help.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to check last used date.
by choroba (Cardinal) on Mar 12, 2021 at 20:04 UTC | |
|
Re^2: How to check last used date.
by chandantul (Scribe) on Mar 13, 2021 at 05:41 UTC | |
by davido (Cardinal) on Mar 13, 2021 at 21:03 UTC |