Grasshopper

algorithmic modeling for Rhino

Due to my extensive travelling I have tried to build a definition that counts days and hours (between two given dates with time) to help me with my yearly allowances calculation.

I have tried to use currently available date and time components but I couldn't come up with something smart.

Any tips how to approach it are highly welcomed. Guys with python skills can probably do it in a blink of the eye.

Views: 1900

Attachments:

Replies to This Discussion

Back in the days of Coffee and GH I set a challenge to convert date and time to Excel Date and Time Serial Code.

http://www.grasshopper3d.com/group/coffee-and-grasshopper/forum/top...

This pre dates The current components but might be useful to get two numbers to subtract and have an answer in decimal days.

This Seems to do it:

The time can be also ceaselessly changed!

Attachments:

Fixed an error on date calculation

... How did you watermark the canvas?

Attachments:

It a cluster

...

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service