Jump to content

Matching tomorrows date in unix timestamp


brob

Recommended Posts

Hi,

I have a database that uses unix timestamps (which I can not change)

I need to be able search these timestamps for tomorrows date.

The timestamps include both date and time but I only wish to search for tomorrows date the time does not bother me.

Does anyone have any advice on how to do this?

Thanks
Link to comment
Share on other sites

Hi sorry this wont work as the time stamp for today with both date and time included i.e.

30/01/2007 00:00

is differnet from the date with a time included

30/01/2007 16:00

so I wouldn't be able to match these.

Is there someway to match just the date and exclude the time in the match?

Thanks
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.