p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

asp_forms thread: OffTopic RE: Date problem....


Message #1 by "David Slater" <proc_dev@h...> on Mon, 25 Feb 2002 12:11:47 +0000
Well to be fair you did stuff us a iCTF.





>From: Brent Latham <Brent2@w...>

>Reply-To: "ASP Forms" <asp_forms@p...>

>To: "ASP Forms" <asp_forms@p...>

>Subject: [asp_forms] RE: Date problem....

>Date: Mon, 25 Feb 2002 12:08:26 -0000

>

>lol - any time m8 :)

>

>My ISP had a bad night and I lost my connection but as I understand it was

>pretty much disorganised chaos anyway :)

>

>snout obviously lost one of their best players so next time might not be so

>easy....then again who am I kidding ;)

>

>/Brent

>

>-----Original Message-----

>From: David Slater [mailto:proc_dev@h...]

>Sent: 25 February 2002 11:57

>To: ASP Forms

>Subject: [asp_forms] RE: Date problem....

>

>

>Ahhh but you can stop em changing it if you make it ReadOnly....

>he he..

>

>BTW its about time we stuffed you again at UT I think, we need our morale

>building up again. :D

>

>

> >From: Brent Latham <Brent2@w...>

> >Reply-To: "ASP Forms" <asp_forms@p...>

> >To: "ASP Forms" <asp_forms@p...>

> >Subject: [asp_forms] RE: Date problem....

> >Date: Mon, 25 Feb 2002 09:30:45 -0000

> >

> >I'm back from the weekend and I feel that I need to point out that

> >Marks suggestion is only a one way solution! i.e. you present the

> >date the way you want it but you can't guarantee that the User isn't

> >going to change the format!

> >

> >maybe it doesn't matter though...

> >

> >anyway I've got mail :)

> >

> >Hope you all had a good weekend guys

> >/Brent

> >

> >

> >

> >-----Original Message-----

> >From: David Slater [mailto:proc_dev@h...]

> >Sent: 22 February 2002 16:50

> >To: ASP Forms

> >Subject: [asp_forms] RE: Date problem....

> >

> >

> >Oh yeh didn't think about that! Thanks Mark, top bloke.

> >Ya see Brent what you can do when you apply yourself......

> >Have a good weekend one and all.

> >

> >

> > >From: Mark Hudson <mhudson@l...>

> > >Reply-To: "ASP Forms" <asp_forms@p...>

> > >To: "ASP Forms" <asp_forms@p...>

> > >Subject: [asp_forms] RE: Date problem....

> > >Date: Fri, 22 Feb 2002 16:39:52 -0000

> > >

> > >Try this. This is for a simple text field!

> > >

> > ><input type="text" name="Start_Date" value="<%= Day(strDate) & "-" &

> > >MonthName(Month(strDate), 1) & "-" & right(Year(strDate),2) %>" 

>size="10"

> > >tabindex="1">

> > >

> > >Kind Regards

> > >

> > >

> > >Mark Hudson

> > >

> > >-----Original Message-----

> > >From: David Slater [mailto:proc_dev@h...]

> > >Sent: 22 February 2002 16:26

> > >To: mhudson@l...

> > >Subject: [asp_forms] Date problem....

> > >

> > >

> > >Its been a while folks but about time a posted another brain teaser.

> > >Its not Java Brent so you're ok... he he

> > >Errr right.

> > >Well its very simple really I have an input form which I'm prefilling

> >with

> > >the date in one of the boxes.

> > >However the date has to be in a specific format, dd-mmm-yyyy, e.g.

> > >22-Feb-2002

> > >And I can't get it to display like that using vbScript.

> > >

> > >I'm aware of the FormatDateTime function but it doesnt have a custom

> >option

> > >to do this, and format() doesnt seem to be in VbScript.

> > >

> > >So spill the beans then, how should I be getting over this problem??

> > >

> > >Cheers

> > >Dave.

> > >

> > >_________________________________________________________________

> > >Get your FREE download of MSN Explorer at

> >http://explorer.msn.com/intl.asp.

> > >

> > >




> >$subst('Email.Unsub').

> > >

> > >Information in this email and any attachments are confidential, and may

> > >not be copied or used by anyone other than the addressee, nor disclosed

> > >to any third party without our permission.  There is no intention to

> > >create any legally binding contract or other commitment through the use

> > >of this email.

> > >Lonsdale Travel Limited  (registration number 1094729)

> > >Registered office: Lonsdale House, Lodge Lane, Derby. DE1 3HB.

> > >Please visit our website http://www.lonsdaletravel.co.uk

> > >




> >$subst('Email.Unsub').

> >

> >

> >_________________________________________________________________

> >MSN Photos is the easiest way to share and print your photos:

> >http://photos.msn.com/support/worldwide.aspx

> >

> >




>$subst('Email.Unsub').

> >




>$subst('Email.Unsub').

>

>

>_________________________________________________________________

>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

>

>




>








_________________________________________________________________

MSN Photos is the easiest way to share and print your photos: 

http://photos.msn.com/support/worldwide.aspx




  Return to Index