Forgot password?

Create an account!

Forum

« back

RhinoScript – DateTime Format in Rhino Scripts or Monkey Scrips

Messages

Please log in to write a message.

  • 1. aranna (May 31, 2011 18.46):

    Hello to everybody,
    if I use vb functions in rhino scripts ...

    x = Time
    x = Date
    x = Now
    ...
    Rhino.print cstr(x)

    its output alwasy "5/31/2011"


    exp. vb functions DateTime Format

    Format specifiers | Output
    ---> d, M | 31, 5
    ---> d MMMM | 31 May
    ---> dddd, d MMMM yyyy | Tuesday, 31 may 2011 <--- exspecialy this one

    How the Rhino/Monkey script code for "Tuesday, 31 may 2011"?

    thanks!
    Aranna

Recommend

Why are these buttons gray?