This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Date and Time

Hi
I need to compare two different date&time.
Anyone ho have any app note on this?

Parents Reply Children
  • Wouldn't it be better to have it as a structure?

    Then you can access, for example, date_time.hour, date_time.day etc

    Or follow Michael Karas' approach in the thread that Graham cited, and do all your arithmetic in serial numbers - and just convert to/from days/hours/minutes etc for presentation?