• Home
  • Documentation
  • Forum
  • Blog
  • Users
    • Map
    • Userlist
    • Businesses
    • Userpages
    • Connections
  • Contributions
    • All
    • Store
  • Downloads
    • vvvv beta
    • vvvv beta previews
  • Store
Show / Hide Table of Contents

Time

Author: tmp
Date: 20 Dec, 2013
Category: pack
Credits:

tmp robert@intolight.de

Download

32bit

0-vvvv-Time-x86.zip
07 Nov, 2017 - 08:26

v0.5.6

64bit

0-vvvv-Time-x64.zip
07 Nov, 2017 - 08:26
v0.5.6

Description

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

  1. 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)

  • Fix: currentTime is synced to vvvv-internal frames now (as suggested here: https://github.com/letmp/vvvv-Time/issues/4 )

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)
  1. Install Guide
  • Download relevant version
  • Copy folder into vvvv directory, like you would do for addonpack
  1. Source Code

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

  1. 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!

Comments

Comments are no longer accepted.
Please create a new topic in the vvvv beta forum to discuss this contribution.
tmp
20 Dec, 2013 - 16: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 Dec, 2013 - 18:06

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

tmp
23 Dec, 2013 - 10: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 Dec, 2013 - 18:44

thanks for that

Gareth.Griffiths
16 Feb, 2014 - 16:31

Thank you for this TMP! Real nice.

sansui
27 Mar, 2014 - 17:49

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

sansui
27 Mar, 2014 - 21: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 Mar, 2014 - 08: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 Mar, 2014 - 09:32

thank you for answer! I got it.

joreg
21 Apr, 2014 - 14: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 Apr, 2014 - 15: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 May, 2014 - 19:38

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

tmp
09 May, 2014 - 20: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 May, 2014 - 15:45

the time-pack should be beta32 compatible now.

tmp
14 May, 2014 - 15: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.

  • Improve this Doc

© 2020 by vvvv group. Imprint | Privacy Policy.
Thanks to DocFX for building this website. Analytics by Plausible.

Back to top