Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

Re: FN-FORUM grabbing date

date posted 16th December 2001 22:33

Getting the server date in ASP would probably be the best one to go for as
that is likely to be the only constant in the scenario - getting the date
from the client is going to be full of inaccuracies.
If you get it from the server then you only need to compare it with the
server and if the server is in a different time zone, you can always adjust
it as it's written.

Dave

----- Original Message -----
From: "Mark Anderson" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Sunday, December 16, 2001 9:10 PM
Subject: RE: FN-FORUM grabbing date


> Mike,
> My original thoughts were asp (that being my background) but as Iain
didn't
> want to trust the 'filler-inners' which I assumed are also server side I
> thought the most appropriate method would be client side. Personally I
would
> find it very easy to do it server side.... BUT is that actually what he
> wants?
>
>
> Mark
>
> -----Original Message-----
> From: [EMAIL REMOVED]
> [EMAIL REMOVED] Behalf Of Mike Ridyard
> Sent: 16 December 2001 19:57
> To: [EMAIL REMOVED]
> Subject: RE: FN-FORUM grabbing date
>
>
> At 16:18 16/12/2001 +0000, you wrote:
> >Iain,
> >Basically you need to have a client side script that captures the date
and
> >then puts it in the hidden field, and then when the form is submitted
dump
> >the value into your database.
>
> *cough*
>
> This relies on the client, having a) javascript enabled, and b) the
correct
> system time.
>
> I wouldn't touch it with a baaaaaaaaaaarge-poooooooooooooole and a very
> long one at that.
>
> Iain has already stated that he is using asp, so why not just add the
> server time to all transactions, either in code using date() or now() or
> using the databases own (mysql) timestamp field, a null value in that
(i.e.
> don't enter a value) will place servertime in iirc yyyymmddhhmmss format
in
> the timestamp field - which can be inspected at a later date.
>
> regards,
>
> Mike
>
>
> ============================================================
>
> * Free listing for freelancers
> * Free to advertise jobs
> * Free jobs distribution service
> * Free database of 5000 freelancers
>
> Freelancers and Freelance Jobs:
> http://www.freelancers.net
>
> Forum FAQs:
> http://freelancers.netrickery.com
>
> To unsubscribe please email:
> [EMAIL REMOVED]
>
> If you have difficulties unsubscribing please email:
> [EMAIL REMOVED]
>
>
> ============================================================
>
> * Free listing for freelancers
> * Free to advertise jobs
> * Free jobs distribution service
> * Free database of 5000 freelancers
>
> Freelancers and Freelance Jobs:
> http://www.freelancers.net
>
> Forum FAQs:
> http://freelancers.netrickery.com
>
> To unsubscribe please email:
> [EMAIL REMOVED]
>
> If you have difficulties unsubscribing please email:
> [EMAIL REMOVED]
>




Messages by Day
December 31st 2001
December 30th 2001
December 29th 2001
December 28th 2001
December 27th 2001
December 26th 2001
December 25th 2001
December 24th 2001
December 23rd 2001
December 22nd 2001
December 21st 2001
December 20th 2001
December 19th 2001
December 18th 2001
December 17th 2001
December 16th 2001
December 15th 2001
December 14th 2001
December 13th 2001
December 12th 2001
December 11th 2001
December 10th 2001
December 9th 2001
December 8th 2001
December 7th 2001
December 6th 2001
December 5th 2001
December 4th 2001
December 3rd 2001
December 2nd 2001
December 1st 2001


Messages by Month
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
January 2001


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000