From WikiChip
Difference between revisions of "mirc/commands/timestamp"
< mirc‎ | commands

(Replaced content with "Hey! Do you know if they make any plugins to help with Search Engine Optimization? I'm trying to get my blog to rank for some targeted keywords but I'm not seeing very goo...")
(Undo revision 74174 by 80.23.199.34 (talk))
Line 1: Line 1:
Hey! Do you know if they make any plugins to help with Search Engine Optimization? I'm trying to get my blog to rank for some targeted keywords but I'm not seeing very good gains. If you know of any please share. Many thanks! kacgaekkdeeedadf
+
{{mirc title|/timestamp Command}}
 +
The '''/timestamp command''' can be used to enable and disable timestamps as well as set their formats.
 +
 
 +
The -g and -f switches can only be used to set new formats.
 +
 
 +
== Synopsis ==
 +
/timestamp <on|off>
 +
/timestamp [-sae] <on|off>
 +
/timestamp <on|off> [window_name]
 +
/timestamp -f <format>
 +
/timestamp -g <format>
 +
 
 +
== Formats ==
 +
Seconds:
 +
    s      Seconds, no leading zeros              0 to 59
 +
    ss      Seconds, with leading zeros            00 through 59
 +
Minutes:
 +
    n      Minutes, no leading zeros              0 to 59
 +
    nn      Minutes, with leading zeros            00 to 59
 +
Hours:
 +
    h      12-hour format of an hour, no          1 through 12
 +
            leading zeros
 +
    hh      12-hour format of an hour, with        01 through 12
 +
            leading zeros
 +
    H      24-hour format of an hour, no          0 through 23
 +
            leading zeros
 +
    HH      24-hour format of an hour, with       00 through 23
 +
            leading zeros
 +
Year:
 +
    yy      A two-digit representation of a year  98 or 09
 +
    yyyy    A full numeric representation of,      2003 or 2005
 +
            a year
 +
Month:
 +
    m       Numeric representation of a month,    1 through 12
 +
            without leading zeros
 +
    mm      Numeric representation of a month,    01 through 12
 +
            with leading zeros
 +
    mmm    A short textual representation of a    Jan through Dec
 +
            month
 +
    mmmm    A full textual representation of a    January through December
 +
            month
 +
Day:
 +
    d      Day of month, no leading zeros        1 to 31
 +
    dd      Day of month, leading zeros            01 to 31
 +
    ddd    A short textual representation of a    Sun through Sat
 +
            day
 +
    dddd    A full textual representation of a    Sunday through Saturday
 +
            day
 +
AM/PM:
 +
    t      Lowercase Ante meridiem and Post      a or p
 +
            meridiem, single letter               
 +
    tt      Lowercase Ante meridiem and Post      am or pm
 +
            meridiem
 +
    T      Uppercase Ante meridiem and Post      A or P
 +
            meridiem, no leading zeros
 +
    TT      Uppercase Ante meridiem and Post      AM or PM
 +
            meridiem, no leading zeros
 +
Ordinal:
 +
    oo      Adds ordinal to a numeric              12th or 1st
 +
            representation
 +
TimeZone:
 +
    z      Difference to Greenwich time,          +0 or -5
 +
            minimal size
 +
    zz      Difference to Greenwich time          +0000 or -0500
 +
    zzz    Difference to Greenwich time          +0100 GMT or -0500 GMT
 +
            with GMT
 +
 
 +
== Switches ==
 +
* '''-s''' - Turns status window time stamp on or off. This is the same as specifying "Status Window" for [window_name]
 +
* '''-a''' - Turns timestamp on or off for the active window
 +
* '''-e''' - Turns timestamp on or off for all windows
 +
* '''-f''' - Sets timestamp format
 +
* '''-g''' - Sets log timestamp format
 +
 
 +
== Parameters ==
 +
* '''<on|off>''' - Turns logging on or off
 +
* '''[window_name]''' - The name of the window to apply the settings to
 +
* '''<format>''' - The new timestamp format
 +
 
 +
== Example ==
 +
<syntaxhighlight lang="mIRC">;set log timestamp
 +
/timestamp -g [hh:nn - mmoo mmmm, yyyy]
 +
 
 +
;turn on status window timestamp
 +
/timestamp -s on
 +
;or (they are both the same)
 +
/timestamp on Status Window</syntaxhighlight>
 +
 
 +
== Compatibility ==
 +
Added: mIRC 3.9
 +
 
 +
== See also ==
 +
* [[List of commands - mIRC|List of commands]]
 +
* [[List of identifiers - mIRC|List of identifiers]]
 +
* {{mIRC|$timestampfmt}}
 +
* {{mIRC|$logstampfmt}}
 +
* {{mIRC|$logstamp}}
 +
* {{mIRC|$timestamp}}
 +
* {{mIRC|$asctime}}
 +
* {{mIRC|$ctime}}
 +
* {{mIRC|$date}}
 +
* {{mIRC|$day}}
 +
* {{mIRC|$daylight}}
 +
* {{mIRC|$fulldate}}
 +
* {{mIRC|$gmt}}
 +
* {{mIRC|$ticks}}
 +
* {{mIRC|$time}}
 +
* {{mIRC|$timezone}}
 +
{{mIRC command list}}
 +
 
 +
[[Category:mIRC commands|timestamp command - mIRC]]

Revision as of 10:01, 13 February 2018

The /timestamp command can be used to enable and disable timestamps as well as set their formats.

The -g and -f switches can only be used to set new formats.

Synopsis

/timestamp <on|off>
/timestamp [-sae] <on|off>
/timestamp <on|off> [window_name]
/timestamp -f <format>
/timestamp -g <format>

Formats

Seconds:

   s       Seconds, no leading zeros              0 to 59
   ss      Seconds, with leading zeros            00 through 59

Minutes:

   n       Minutes, no leading zeros              0 to 59
   nn      Minutes, with leading zeros            00 to 59

Hours:

   h       12-hour format of an hour, no          1 through 12
           leading zeros
   hh      12-hour format of an hour, with        01 through 12
           leading zeros
   H       24-hour format of an hour, no          0 through 23
           leading zeros
   HH      24-hour format of an hour, with        00 through 23
           leading zeros

Year:

   yy      A two-digit representation of a year   98 or 09
   yyyy    A full numeric representation of,      2003 or 2005
           a year

Month:

   m       Numeric representation of a month,     1 through 12
           without leading zeros
   mm      Numeric representation of a month,     01 through 12
           with leading zeros
   mmm     A short textual representation of a    Jan through Dec
           month
   mmmm    A full textual representation of a     January through December
           month

Day:

   d       Day of month, no leading zeros         1 to 31
   dd      Day of month, leading zeros            01 to 31
   ddd     A short textual representation of a    Sun through Sat
           day
   dddd    A full textual representation of a     Sunday through Saturday
           day

AM/PM:

   t       Lowercase Ante meridiem and Post       a or p
           meridiem, single letter                
   tt      Lowercase Ante meridiem and Post       am or pm
           meridiem
   T       Uppercase Ante meridiem and Post       A or P
           meridiem, no leading zeros
   TT      Uppercase Ante meridiem and Post       AM or PM
           meridiem, no leading zeros

Ordinal:

   oo      Adds ordinal to a numeric              12th or 1st
           representation

TimeZone:

   z       Difference to Greenwich time,          +0 or -5
           minimal size
   zz      Difference to Greenwich time           +0000 or -0500
   zzz     Difference to Greenwich time           +0100 GMT or -0500 GMT
           with GMT

Switches

  • -s - Turns status window time stamp on or off. This is the same as specifying "Status Window" for [window_name]
  • -a - Turns timestamp on or off for the active window
  • -e - Turns timestamp on or off for all windows
  • -f - Sets timestamp format
  • -g - Sets log timestamp format

Parameters

  • <on|off> - Turns logging on or off
  • [window_name] - The name of the window to apply the settings to
  • <format> - The new timestamp format

Example

;set log timestamp
/timestamp -g [hh:nn - mmoo mmmm, yyyy]
 
;turn on status window timestamp
/timestamp -s on
;or (they are both the same)
/timestamp on Status Window

Compatibility

Added: mIRC 3.9

See also

v · d · e mIRC commands list

A /abook, /action, /add, /ajinvite, /alias, /aline, /ame, /amsg, /anick, /aop, /auser, /auto, /autojoin, /avoice, /away

B /background, /ban, /bcopy, /beep, /bindip, /bread, /break, /breplace, /bset, /btrunc, /bunset, /bwrite

C /channel, /clear, /clearall, /clearial, /cline, /clipboard, /close, /closechats, /closedccs, /closefserves, /closemsg, /cnick, /color, /colour, /comclose, /comlist, /commands, /comopen, /comreg, /continue, /copy, /creq, /ctcp, /ctcpreply, /ctcps

D /dcc, /dccserver, /dde, /ddeserver, /debug, /dec, /describe, /dialog, /did, /didtok, /disable, /disconnect, /dlevel, /dline, /dll, Template:mIRC/donotdisturb, /dns, /dqwindow, /drawcopy, /drawdot, /drawfill, /drawline, /drawpic, /drawrect, /drawreplace, /drawrot, /drawsave, /drawscroll, /drawsize /drawtext

E /ebeeps, /echo, /editbox, /else, /elseif, /emailaddr, /enable, /events, /exit

F /fclose, /filter, /findtext, /finger, /firewall, /flash, /flist, /flood, /flush, /flushini, /fnord, /font, /fopen, /fseek, /fsend, /fserve, /fullname, /fupdate, /fwrite

G /ghide, /gload, /gmove, /gopts, /goto, /gplay, /gpoint, /gqreq, /groups, /gshow, /gsize, /gstop, /gtalk, /gunload, /guser

H /hadd, /halt, /haltdef, /hdec, /hdel, /help, /hfree, /hinc, /hload, /hmake, /hotlink, /hop, /hsave

I /ial, /ialclear, /ialmark, /identd, /if, /ignore, /iline, /inc, /iuser

J /join

L /leave, /linesep, /links, /list, /load, /loadbuf, /localinfo, /log, /logview

M /maxdepth, /mdi, /me, /menubar, /mkdir, /mnick, /mode, /msg

N /noop, /notice, /notify

O /onotice, /omsg

P /pareline, /part, /partall, /pdcc, /perform, /play, /playctrl, /pop, /protect, /proxy, /pvoice

Q /qme, /qmsg, /query, /queryrn, /quit, /quote

R /raw, /registration, /reload, /remini, /remote, /remove, /rename, /renwin, /reseterror, /resetidle, /return, /returnex, /rlevel, /rline, /rmdir, /run, /ruser

S /save, /savebuf, /saveini, /say, /scid, /scon, /server, /set, /setlayer, /showmirc, /signal, /sline, /sockaccept, /sockclose, /socklist, /socklisten, /sockmark, /sockopen, /sockpause, /sockread, /sockrename, /sockudp, /sockwrite, /sound, /speak, /splay, /sreq, /strip, /switchbar

T /timer, /timestamp, /tip, /tips, /titlebar, /tnick, /tokenize, /toolbar, /topic /tray, /treebar

U /ulist, /unload, /unset, /unsetall, /updatenl, /url, /username, /uwho

V /var, /vcadd, /vcmd, /vcrem, /vol

W

X /xyzzy