Ask a Question related to ASP Database, Design and Development.
-
Dave #1
ANSI Standard date
Hi,
Could somebody please tell me, or point me to an article, that shows me how
to pick up an ANSI standard date directly from
asp (VB Script) code.
The now() function seems to pick up the date with the default settings of
the server.
ie if the date format is dd/mm/yyyy it will pick up 09072003
and if the date format is mm/dd/yyyy it will pick up 07092003
what I am looking for is a function that will always pick up the date in the
format
yyyymmdd
ie
20030709
if there is not a built in VB Script function then can I get this directly
from the registry.
Thanks in advance.
cheers
Dave.
Dave Guest
-
[ANNOUNCE] Win32::Console::ANSI v1.0
I'm happy to announce the last release of Win32::Console::ANSI. On Win32 systems, this module emulates an ANSI console for the script that uses... -
ANSI-colored text in menu possible?
Hi, is it possible to use text colored by ANSI-escape-sequences in a menu generated by perlmenu.pm or Cmenu.pm? If not, is there a perlmodule... -
Win32::Console::ANSI messes up IO
Hi, I have some Perl scripts that use Term::ANSIColor to output error messages in reverse mode. Works fine on Unix, so I was disappointed to... -
Formatting (ANSI) highlighted strings
Hi folks, Using the 'text/highlight' package on RubyForge, you can emit coloured strings to the console like so: s =... -
[PHP-DEV] [PHP-CVS] cvs: php-src / NEWS /ext/standard parsedate.y /ext/standard/tests/time
Derick Rethans wrote: bison -y /usr/src/php/php5/ext/standard/parsedate.y conflicts: 17 shift/reduce... -
Paul White #2
Re: ANSI Standard date
"Dave" <davidb1234@hotmail.com> wrote in message
news:uYEilQgRDHA.3192@TK2MSFTNGP10.phx.gbl...how> Could somebody please tell me, or point me to an article, that shows me> to pick up an ANSI standard date directly from
> asp (VB Script) code.
myDDMMYYYY = day(Date()) & "/" & month(Date()) & "/" & year(Date())
or
myYYYYMMDD = year(Date()) & month(Date()) & day(Date())
Paul White Guest
-
Bob Barrows #3
Re: ANSI Standard date
Paul White wrote:
This won't work: check out what you get for 1/1/2003. You need something> "Dave" <davidb1234@hotmail.com> wrote in message
> news:uYEilQgRDHA.3192@TK2MSFTNGP10.phx.gbl...>>> Could somebody please tell me, or point me to an article, that shows
>> me how to pick up an ANSI standard date directly from
>> asp (VB Script) code.
>
> myDDMMYYYY = day(Date()) & "/" & month(Date()) & "/" & year(Date())
>
> or
>
> myYYYYMMDD = year(Date()) & month(Date()) & day(Date())
like this:
myYYYYMMDD = year(Date()) & Right("0" & month(Date()),2) & _
Right("0" & day(Date()),2)
HTH,
Bob Barrows
Bob Barrows Guest
-
Unregistered #4Unregistered Guest



Reply With Quote


