Structs§

  • The TimeDiff stuct has two main methods: short_form() & long_form()
    the short_form() returns a short desciption about time diffrence

Enums§

Functions§

  • Converts a valid datetime to timestamp
  • Returns current timestamp
  • Converts datetime to Chrono DateTime<Local>
  • start & end arguments can be a integer as timestamp or a string as datetime Returns a TimeDiff stuct based on how much time is remaining or passed based on the diffrence between two datetime
    The TimeDiff stuct has two main methods , short_form() & long_form()
    the short_form() returns a short desciption about time diffrence
  • datetime argument can be a integer as timestamp or a string as datetime Returns a TimeDiff stuct based on how much time is remaining or passed based on the givin datetime
    The TimeDiff stuct has two methods , short_form() & long_form()