• Me again...

    From Glucose Grin@VERT to All on Thursday, November 25, 2004 19:05:26
    Maybe I'm just missing it....

    is there a synchronet control-a code, @code, or javascript command that'll give todays date? I'm writing a script that'll need to write a formatted date to a text file, and I just can't find how to do it.

    Thanks in advance! :)

    Glucose Grin


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Mrproper@VERT/VEXED2 to Glucose Grin on Thursday, November 25, 2004 00:15:00
    Re: Me again...
    By: Glucose Grin to All on Thu Nov 25 2004 07:05 pm

    Maybe I'm just missing it....

    is there a synchronet control-a code, @code, or javascript command that'll give todays date? I'm writing a script that'll need to write a formatted date to a text file, and I just can't find how to do it.

    Thanks in advance! :)

    you can pipe code @DATE@ I beleive.

    ---
    þ Synchronet þ WarZone BBS - telnet/http: warzone.dyndns.org DoveNet via WEB
  • From Digital Man@VERT to Glucose Grin on Friday, November 26, 2004 12:35:03
    Re: Me again...
    By: Glucose Grin to All on Thu Nov 25 2004 07:05 pm

    Maybe I'm just missing it....

    is there a synchronet control-a code, @code, or javascript command that'll give todays date? I'm writing a script that'll need to write a formatted date to a text file, and I just can't find how to do it.

    See system.datestr() at http://synchro.net/docs/jsobjs.html

    digital man

    Snapple "Real Fact" #154:
    Americans spend more than $630 million a year on golf balls.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Tracker1@VERT/TRN to Glucose Grin on Friday, November 26, 2004 23:02:00
    Glucose Grin wrote:
    is there a synchronet control-a code, @code, or javascript command that'll give todays date? I'm writing a script that'll need to write a formatted date to a text file, and I just can't find how to do it.

    built into javascript...
    var now = new Date();

    I have a format extension for the date object that you can download as
    part of the assault base pack on vanguardmoddingcrew.com

    --
    Michael J. Ryan - tracker1(at)theroughnecks(dot)net - www.theroughnecks.net icq: 4935386 - AIM/AOL: azTracker1 - Y!: azTracker1 - MSN/Win: (email)

    ---
    þ Synchronet þ theroughnecks.net - you know you want it