[thelist] asp edit masks on date /time fields

Steve Abaffy sabaffy at mswebdevelopment.com
Fri Aug 15 09:30:49 CDT 2003


You could just use FormatDateTime(Date,style)
where style if memory servers correctly =
1 for long date
2 for short date
3 for long time
4 for short time.... you might have to play around with that.


> -----Original Message-----
> From: thelist-bounces at lists.evolt.org
> [mailto:thelist-bounces at lists.evolt.org]On Behalf Of Lightening
> Sent: Friday, August 15, 2003 8:40 AM
> To: thelist
> Subject: [thelist] asp edit masks on date /time fields
>
>
> Field in MS access is defined as date/time and contains the time an event
> starts.
>
> When I display this field on an asp calendar, it gives me seconds: eg:
>                           "ceramics class starts at 10:00:00 AM".
>
> It should say:      "ceramics class starts at 10:00 AM".
>
> I have searched the web - "edit mask" is what this was called "back when",
> but I haven't heard this term in a long time. Perhaps there is different
> vocabulary for it now? If someone could point me to a resource page that
> talks about this, I would be most appreciative.
>
> thanks
> Laura
>
>
> --
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
>




More information about the thelist mailing list