legacy-knowledge-base
公開されました Jun. 30, 2025

User_テーブルでlastLoginDateの値が正しくない。

written-by

Phil Chapman

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • User_ テーブルにおいて、最終ログイン日の詳細が正しくないことが指摘されています。 lastLoginDate の値は、 loginDate のカラムに表示される値を反映する必要があると理解しています。

Environment

  • dxp 7.3 dxp 7.4

解決策

  • Liferayは期待通りに動作しています。

    loginDate は、「現在のログイン日」と考えることができる。

    lastLoginDate 「前回のログイン日」と考えることができる。


    例 あるユーザーが5月1日にログインし、5月19日に再度ログインした場合、 Users_ テーブルの値は次のように表示されます:

    loginDate = 2023-05-19 08:02:58

    lastLoginDate = 2023-05-01 07:48:41

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base