![](https://seccdn.libravatar.org/avatar/b412e0e96b356608cdeaf4428d35ac4f.jpg?s=120&d=mm&r=g)
29 Jun
2023
29 Jun
'23
19:30
On 6/29/23 05:48, Thorsten Kukuk wrote:
On Wed, Jun 28, Joe Salmeri wrote:
One thing I noticed is that "last -s 2023-06-28" works properly and returns since midnight, whereas "wtmpdb last -s 2023-06-28" returns "Invalid time value 2023-06-28".
man wtmpdb says ( so that explains it )
TIME must be in the format "YYYY-MM-DD HH:MM:SS".
but it would be nice if it would default the time like last does. Ok, "YYYY-MM-DD", "today" and "yesterday" will also work after the next update.
Thorsten
Great, thanks for your efforts!