4UTILS

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Aug 9, 2009
133
0
#1
Tue 22 Jun 2010 10:50p
c:\>:Note time
Tue 22 Jun 2010 10:50p
c:\>plugin
4UTILS: @ASCIIHEX @AVG @CLOCK @DEQUOTE @DTMARK @DU
@EMPTY @EXECW @FACT
@FILEREADX @FILEWRITEX @FMTBYTE @FREGEX @GEV @GV
@HEXTOIP @IPTOHEX @ISLEAP
@MRAND @MRANDSEED @NEWEST @OLDEST @PARSEF
@PARSEW @PP @SET @SHPATH
@SREPEAT @STIRLING @SUM @TR @UCODEHEX
@UNIXTIME @XREPLACE CDH CDO
CLOCK CRUNCH DEC DIRSORT EVAL
FCONVERT GREPP GSET INC
NOTAGS PACE SETERR TYPEX UHELP
UNSETEX UNTYPEX _AGENOW _D8
_INKEY _N _PRIORITY _T6 _T9
_UNIXTIME _UTC

Tue 22 Jun 2010 10:50p
c:\>echo %_utc
22/06/2010 10:50:56 a.m.

Tue 22 Jun 2010 10:50p
c:\>: a.m ?
Tue 22 Jun 2010 10:51p
c:\>ver

4NT 8.02.106 Windows XP [Version 5.1.2600]
 
Aug 9, 2009
133
0
#3
> On Tue, 22 Jun 2010 07:10:48 -0400, Kachupp <> wrote:
>
> |c:\>: a.m ?
>
> It's coming from:
>
> GetTimeFormat(LOCALE_USER_DEFAULT, LOCALE_USE_CP_ACP, ...
> --
> - Vince
In my original post prompt is as follows " prompt $D $M $_$P$g " which
provides the following

Wed 23 Jun 2010 10:46a
C:\>echo %_utc
22/06/2010 10:46:58 p.m

Wed 23 Jun 2010 10:46a
C:\>

The data returned by it is 24HRS old
How do i fix it
 
#4
On Tue, 22 Jun 2010 18:58:24 -0400, Kachupp <> wrote:

|In my original post prompt is as follows " prompt $D $M $_$P$g " which
|provides the following
|
|Wed 23 Jun 2010 10:46a
|C:\>echo %_utc
|22/06/2010 10:46:58 p.m
|
|Wed 23 Jun 2010 10:46a
|C:\>
|
|The data returned by it is 24HRS old
|How do i fix it

I your earlier post there was no such problem. Here's a quote from your earlier
post:

Code:
Tue 22 Jun 2010 10:50p
c:\>echo %_utc
22/06/2010 10:50:56 a.m.

Tue 22 Jun 2010 10:50p
.

And PROMPT's $M gives the **local** time, while _UTC gived UTC time. So I
presume you are near Grenwich, UK in which case I don't understand how "Wed 23
Jun 2010 10:46a" can be correct. All _UTC does is get the system time (which is
UTC) and prints it. Does anyone have a clue what Kachupp is asking and what's
going on?
--
- Vince
 
#6
On Tue, 22 Jun 2010 19:54:10 -0400, Charles Dye <> wrote:

|On my system, %_UTC returns the same data as %_UTCDATETIME (though in a different format.)

That's what it's supposed to do.
--
- Vince
 
Aug 9, 2009
133
0
#7
> On Tue, 22 Jun 2010 18:58:24 -0400, Kachupp <> wrote:
>
>
> Code:
> ---------
> Tue 22 Jun 2010 10:50p
> c:\>echo %_utc
> 22/06/2010 10:50:56 a.m.
>
> Tue 22 Jun 2010 10:50p
> ---------
> .
>
> And PROMPT's $M gives the **local** time, while _UTC gived UTC time. So I
> presume you are near Grenwich, UK in which case I don't
> understand how "Wed 23
> Jun 2010 10:46a" can be correct. All _UTC does is get the system
> time (which is
> UTC) and prints it. Does anyone have a clue what Kachupp is
> asking and what's
> going on?
> --
> - Vince
I'm in New Zealand no where near the UK.
The problem in the original post was that _utc displayed "a.m" .... My
prompt display shows "p"

from original post
Tue 22 Jun 2010 10:50p
c:\>echo %_utc
22/06/2010 10:50:56 a.m.

a.m ^

Previous Post
Wed 23 Jun 2010 10:46a
C:\>echo %_utc
22/06/2010 10:46:58 p.m

p.m ^

Current Post
Wed 23 Jun 2010 12:04p
C:\>echo %_utc
23/06/2010 12:04:05 a.m.

Just turned Mid-day but _utc is saying Morning

24 hrs out
 
#8
On Tue, 22 Jun 2010 20:29:06 -0400, Kachupp <> wrote:

|I'm in New Zealand no where near the UK.
|The problem in the original post was that _utc displayed "a.m" .... My
|prompt display shows "p"

Earlier you said:

Wed 23 Jun 2010 10:46a
C:\>echo %_utc
22/06/2010 10:46:58 p.m

It looks correct to me. New Zealand is 12 hours ahead of UTC. When it's 10:46
AM Wednesday for you, UTC is 10:46 PM Tuesday.
--
- Vince
 
Aug 9, 2009
133
0
#11
> ---Quote (Originally by Kachupp)---
> I'm in New Zealand no where near the UK.
> The problem in the original post was that _utc displayed "a.m" .... My
> prompt display shows "p"
> ---End Quote---
> What does ECHO %_TZO report?
> Charles Dye
12 hrs -720
 

samintz

Scott Mintz
May 20, 2008
1,203
11
Solon, OH, USA
#12
There is a 12 hour difference being displayed - not 24. Isn't there a +12
time difference between NZ and GMT?
It sure seems like it's working to me.

-Scott

Kachupp <> wrote on 06/22/2010 08:29:06 PM:


> ---Quote---
> > On Tue, 22 Jun 2010 18:58:24 -0400, Kachupp <> wrote:
> >
> >
> > Code:
> > ---------
> > Tue 22 Jun 2010 10:50p
> > c:\>echo %_utc
> > 22/06/2010 10:50:56 a.m.
> >
> > Tue 22 Jun 2010 10:50p
> > ---------
> > .
> >
> > And PROMPT's $M gives the **local** time, while _UTC gived UTC time.
So I

> > presume you are near Grenwich, UK in which case I don't
> > understand how "Wed 23
> > Jun 2010 10:46a" can be correct. All _UTC does is get the system
> > time (which is
> > UTC) and prints it. Does anyone have a clue what Kachupp is
> > asking and what's
> > going on?
> > --
> > - Vince
> ---End Quote---
> I'm in New Zealand no where near the UK.
> The problem in the original post was that _utc displayed "a.m" .... My
> prompt display shows "p"
>
> from original post
> Tue 22 Jun 2010 10:50p
> c:\>echo %_utc
> 22/06/2010 10:50:56 a.m.
>
> a.m ^
>
> Previous Post
> Wed 23 Jun 2010 10:46a
> C:\>echo %_utc
> 22/06/2010 10:46:58 p.m
>
> p.m ^
>
> Current Post
> Wed 23 Jun 2010 12:04p
> C:\>echo %_utc
> 23/06/2010 12:04:05 a.m.
>
> Just turned Mid-day but _utc is saying Morning
>
> 24 hrs out
>
>
>
>