[chuck-users] Date and Time (Mario)

Perry Cook prc at cs.princeton.edu
Wed Apr 3 12:12:20 EDT 2019


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-request at lists.cs.princeton.edu wrote:
> 
> Send chuck-users mailing list submissions to
>    chuck-users at 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-request at lists.cs.princeton.edu
> 
> You can reach the person managing the list at
>    chuck-users-owner at 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.buoninfante at gmail.com>
> To: ChucK <chuck-users at lists.cs.princeton.edu>
> Subject: [chuck-users] Get date and time
> Message-ID:
>    <CAHs=M8RWDU89A9Lze1a_MTO1=fE7r0FKV4mio60RFLirnfNFKw at 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 at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
> 
> 
> End of chuck-users Digest, Vol 164, Issue 3
> *******************************************



More information about the chuck-users mailing list