last-seen-date
v1.0.0
Published
This package helps to detail the last seen
Downloads
3
Readme
��#� �l�a�s�t�-�s�e�e�n�
�
�
�
�#� �D�e�s�c�r�i�p�t�i�o�n�
�
�
�
�T�h�i�s� �p�a�c�k�a�g�e� �i�s� �u�s�e�d� �t�o� �h�e�l�p� �g�e�t� �l�a�s�t� �s�e�e�n� �t�i�m�e�l�i�n�e�s� �o�n�c�e� �y�o�u� �p�a�s�s� �i�n� �d�a�t�e� �s�t�r�i�n�g�s�
�
�
�
�#� �U�s�a�g�e�
�
�
�
��
��j�s�
�
�c�o�n�s�t� �o�u�t�p�u�t� �=� �l�a�s�t�S�e�e�n�(�'�0�3�/�2�5�/�2�0�2�2�'�)�;�
�
�
�
�o�u�t�p�u�t�:� �T�h�i�s� �c�o�n�t�a�i�n�s� �t�h�e� �r�e�t�u�r�n�e�d� �d�a�t�e� �v�a�l�u�e� �b�a�s�e�d� �o�n� �t�h�e� �d�a�t�e� �s�t�r�i�n�g� �p�a�s�s�e�d� �i�n�t�o� �t�h�e� �f�u�n�c�t�i�o�n�
�
�
�
�d�a�t�e�*� �-� �r�e�q�u�i�r�e�d� �|� �s�t�r�i�n�g�
�
�
�
�
�
�
��
�
�
�
�
�#� �C�o�d�e� �D�e�m�o�n�s�t�r�a�t�i�o�n�
�
�
�
��
��j�s� �l�i�v�e�=�t�r�u�e�
�
�
�
�/�/�W�i�t�h� �s�h�o�r�t� �d�a�t�e� �s�t�r�i�n�g�s� �o�p�t�i�o�n�
�
�
�
�c�o�n�s�t� �o�u�t�p�u�t� �=� �l�a�s�t�S�e�e�n�(�'�0�8�/�0�1�/�2�0�2�2�'�)�;�
�
�
�
�c�o�n�s�o�l�e�.�l�o�g�(�o�u�t�p�u�t�)�;� �/�/� �O�u�t�p�u�t�s� �'�1� �d�a�y�s� �a�g�o�'�
�
�
�
�/�/�W�i�t�h� �I�S�O� �d�a�t�e� �s�t�r�i�n�g�s� �o�p�t�i�o�n�
�
�
�
�c�o�n�s�t� �o�u�t�p�u�t� �=� �l�a�s�t�S�e�e�n�(�'�2�0�2�2�-�0�1�-�0�8�'�)�;�
�
�
�
�c�o�n�s�o�l�e�.�l�o�g�(�o�u�t�p�u�t�)�;� �/�/� �O�u�t�p�u�t�s� �'�1� �d�a�y�s� �a�g�o�'�
�
�
�
�
�
�T�h�a�n�k� �y�o�u�
�
�
��
�
�
�