» Time
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Time

pack time TimeSpan Date
Credits: tmp robert@intolight.de

about

If you also think that using the Astronomy nodes to handle times and dates is a pain then this pack could make you happy.

Version history

Since v0.5.6

  • small bugfix in select nodes

Since v0.5.5

  • vvvv beta33.3 compatibility
  • added JSON serializing (important if you use time in your own plugin and want to de/serialize the object in JSON format)

Since v0.5.4

  • vvvv beta33 compatibility
  • fixed toString method in core dll (important if you use the nuget package VVVV.Packs.Time)

Since v0.5

  • vvvv beta32 compatibility
  • Fixed a bug in AsTime (Value Decimal)

Since v0.4

  • AsTime (Value Decimal Advanced)
  • AsTime (Value Decimal)
  • AsTime (Value Unix)
  • S+H (Time Timespan)

Since v0.3 (thanks to sebl):

  • AsValue (Time Decimal)
  • AsValue (Time Unix)
  • AsString (Time Unix)

Since v0.1

  • CurrentTime (Time)
  • LocalTimezone (Time)
  • ChangeTimezone (Time)
  • AsTime (String)
  • AsTime (Value)
  • AsString (Time)
  • AsString (TimeSpan)
  • Time(Time Split)
  • Time(Time Join)
  • Zip (Time)
  • Unzip (Time)
  • Sort (Time)
  • + (Time, TimeSpan)
  • - (Time, TimeSpan)
  • - (Time, Time)
  • + (TimeSpan, TimeSpan)
  • - (TimeSpan, TimeSpan)
  • TimeSpan (Time Join)
  • TimeSpan (Time Split)
  • Select (Time)
  • Select (Time Bin)
  • > (Time)
  • < (Time)
  • = (Time)
  • S+H (Time)
  • GetSlice (Time)
  • SetSlice (Time)
  • DeleteSlice (Time)

Install Guide

  • Download relevant version
  • Copy folder into vvvv directory, like you would do for addonpack

Source Code

You can find the source code here:https://github.com/letmp/vvvv-Time

Nuget

You can use vvvv-time in your own project by adding VVVV.Packs.Time as nuget dependency to make your nodes compatible with this contribution.https://www.nuget.org/packages/VVVV.Packs.Time/

Comments and bugreports are highly appreciated!

download

64bit

vvvv-Time-x64.zip
07.11.17 [09:26 UTC] by tmp | 29 downloads
v0.5.6

32bit

vvvv-Time-x86.zip
07.11.17 [09:26 UTC] by tmp | 5 downloads
v0.5.6

tmp 20/12/2013 - 17:51

And here is a funny new years eve patch.
You can see when everyone steps into 2014 ;)
https://dl.dropboxusercontent.com/u/51232449/countdown.v4p

beyon 20/12/2013 - 19:06

Started on some time nodes before, will have a look later and see if I have something to complement this contribution.

tmp 23/12/2013 - 11:42

v0.2 contains 3 new nodes:

  • + (TimeSpan, TimeSpan)
  • - (TimeSpan, TimeSpan)
  • AsString (TimeSpan)

Gregorian (Time Split/Join) was renamed to Time (Time Split/Join).

The sourcecode in my github was also cleaned up and restructured. thanks to velcrome ;)

colorsound 26/12/2013 - 19:44

thanks for that

Gareth.Griffiths 16/02/2014 - 17:31

Thank you for this TMP! Real nice.

sansui 27/03/2014 - 18:49

Thanks! Was here another plugin like this?
this is very essential.

sansui 27/03/2014 - 22:25

tmp, can I ask a question?
why different 'day of week' order with Gregorian(Astronomy Split)?
today is friday, Greogorian has 6 in DayOfWeek output.
Time(time split) has 5 in DayOfWeek output.

tmp 28/03/2014 - 09:27

hey sansui, of course you can ask questions ;)

as stated on microsofts developer network ( http://msdn.microsoft.com/en-us/library/system.datetime.dayofweek(v=vs.90).aspx ) the constants in the DayOfWeek enums range from 0(=sunday) to 6(=saturday).

the standard gregorian (astronomy split) node uses the SysUtils.DayOfWeek function ( http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/SysUtils_DayOfWeek.html ) and counts from 1 (=sunday) to 7 (=saturday).

it is a design decision but from a computer scientists view it makes more sense to count from 0 to 6 ;)

sansui 28/03/2014 - 10:32

thank you for answer!
I got it.

joreg 21/04/2014 - 15:52

have to admit i didn't have a look at this contribution at all but just stumbled about this nuget http://www.nodatime.org/ and thought it could be relevant..

tmp 23/04/2014 - 16:43

hey joreg!

i also stumbled about nodatime and decided not to use it, because i didn't want the time pack to be dependent of a foreign framework (that is not "finished" yet). but it indeed looks very interesting and offers many additional features that could be useful in vvvv.

regarding to the roadmap ( http://nodatime.org/developer/roadmap.html ) and current limitations ( http://nodatime.org/1.2.x/userguide/limitations.html ) it seems to be a good idea to revisit nodatime when version 2.0 gets released and rewrite the timepack with the help of it.

DiMiX 09/05/2014 - 20:38

Hi,
thanks for contribution, but i cant run pack with fresh beta32_x86.
had no problem with b31.2

tmp 09/05/2014 - 21:22

ok thanks for the info.
i will fix it on monday!

if you are in a hurry you can already have a look at https://github.com/letmp/vvvv-Time and try to fix it yourself.

tmp 12/05/2014 - 16:45

the time-pack should be beta32 compatible now.

tmp 14/05/2014 - 16:09

fyi:

the core of the time pack is available via nuget now (vvvv.packs.time).
you can access many functions to handle conversion/arithmetic easily and make your nodes compatible with the time pack.

anonymous user login

Shoutbox

~17h ago

vnm: Does Intensity Pro 4K work with VideoIn(dx11)?

~5d ago

joreg: siggraph asia 2017 technical papers trailer: https://www.youtube.com/watch?v=3OGKh_9Rj_8

~6d ago

drupal_admin: we're back

~6d ago

drupal_admin: hello. maintenance reboot at 2:06am. save your work! should be back in a few minutes

~9d ago

tekcor: Following the steps of the current vvvv chat, we put up a vvvv.js dev support. https://riot.im/app/#/room/#vvvv.js:matrix.org