# MySQL timestamp...help

**URL:** <https://forum.kirupa.com/t/mysql-timestamp-help/210690>\
**Category:** Uncategorized\
**Created:** [December 21, 2006, 2:22am UTC](https://forum.kirupa.com/t/mysql-timestamp-help/210690 "2006-12-21T02:22:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![studio\_shompr3d](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@studio\_shompr3d](https://forum.kirupa.com/u/studio_shompr3d)\
**Post date:** [December 21, 2006, 2:22am UTC](https://forum.kirupa.com/t/mysql-timestamp-help/210690/1 "2006-12-21T02:22:02Z")

</div>

Hi…does any of you know how to deal with timestamp? Well here’s the idea I’m trying to count the current\_timestamp with the one in the record (called it old\_timestamp) and what i’m trying to get is how many day(s) from old\_timestamp to current\_timestamp…like the one in friendster website (last login:…)
