|
Posted by Norman Peelman on 11/25/07 01:08
Rob Wilkerson wrote:
> On Nov 24, 3:56 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> Unix timestamps are just integers. You can't differentiate them.
>
> Yeah, I was hoping that you all (as seasoned php developers) had
> figured out some fancy technique for identifying one as a date value
> rather than as an integer. :-) Guess I'll have to come up with a new
> plan...
>
> Thanks.
Can you tell what your INT data is going to be? Can you tell what is
the oldest date is going to be? You could possibly hack it if your
integer data falls within a certain range you could make some assumptions:
If each of your INTeger data is less than 1000000000 (ten digits, 1
billion) which is a unix timestamp equal to Sept. 08, 2001 @ approx
9:46pm, then you could possibly assume that anything above this would be
a timestamp.
Ugly I know...
Norm
Navigation:
[Reply to this message]
|