Hi Perry,

That's a brilliant workaround :)


Thanks,

Mario


On 03/04/2019 17:12, Perry Cook wrote:
Very interesting question, and I don’t know.  In case the answer comes back no 
tho:

I’ve done this by launching with the start time in a command line argument.  
Then added “now” to that to get current time.

Prc

Sent from my iPhone

On Apr 3, 2019, at 9:00 AM, chuck-users-requ...@lists.cs.princeton.edu wrote:

Send chuck-users mailing list submissions to
    chuck-users@lists.cs.princeton.edu

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
or, via email, send a message with subject or body 'help' to
    chuck-users-requ...@lists.cs.princeton.edu

You can reach the person managing the list at
    chuck-users-ow...@lists.cs.princeton.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of chuck-users digest..."


Today's Topics:

   1. Get date and time (Mario Buoninfante)


----------------------------------------------------------------------

Message: 1
Date: Wed, 3 Apr 2019 14:17:32 +0100
From: Mario Buoninfante <mario.buoninfa...@gmail.com>
To: ChucK <chuck-users@lists.cs.princeton.edu>
Subject: [chuck-users] Get date and time
Message-ID:
    <CAHs=M8RWDU89A9Lze1a_MTO1=fe7r0fkv4mio60rflirnfn...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,

Is there any way to get date and time in ChucK? I was hoping for something
that's not Std.system().

Cheers,
Mario
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20190403/feead68f/attachment-0001.html>

------------------------------

_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users


End of chuck-users Digest, Vol 164, Issue 3
*******************************************
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

--
Electronic Musician, Creative Coder, QA Engineer
https://vimeo.com/creativecodingsalerno
http://mbuoninfante.tumblr.com/
https://github.com/mariobuoninfante
https://bitbucket.org/mariobuoninfante/

_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

Reply via email to