Warning: session_start(): open(/tmp/sess_189h0ual7o9u2fikb1ah79qea2, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
Date Time Functions openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans (1) .- Knowledge Base  . 

Date Time Functions

   0.4  

KDE Development Tool

Score 59%
sequitursequitur
Kitty Hooch
Home
Date Time Functions
zoom


Date Time Functions
zoom


Date Time Functions
zoom


Link:  Link
Downloads:  115
Submitted:  Mar 26 2008
Updated:  Apr 21 2008

Description:

NOTE: Requires Kommander 1.3 which shipped with KDE 3.5.9!

This is an extensive date/time library for Kommander. Some of this is available using date in an exec() call but if you have loops processing lots of data those calls are slow. There are some very cool things in here.

* auto-recognize DateTime/Date/Time
* tell your program what type it sees
* add DateTime
* multiply time by a value
* subtract time
* add a list of time values
* convert time to decimal value to divide by time
* much more

If you are working with time or especially database logging this is a must have.




Changelog:

version 0.4
* added fractionalMinutes - takes a time value and returns a decimal value 01:10:30 = 70.5
* added fractionalHours - takes a time value with optional days and returns a decimal value 2 02:30:00 = 50.5

Version 0.3
* Fixed bug in date time compare that gave the right answer only once in a while
* added function for checking if the request is being made for DateTime, Date or time - user callable
* Test and intelligently handle requests for addSecs, addDays, addMonths and addYears based on the type they are called with

version 0.2
* Added time subtract function
* Made DateTime compare intelligently detect DateTime, Date and Time and validate each - now correctly returns 0 for equal time.

See the description on the release page on site. All kinds of functions, about 20. Most accept a date or use today's date if none was entered, plus I threw in a true 2 decimal place rounding function as it is missing... sorely missing if you're using Postgres and having to do a string remove on 6 zeros and finding 0.375 slipping by...




LicenseGPL
Donate
Send to a friend
Subscribe
Other  Content  from sequitur
Report inappropriate content



-

 wrong link

 
 by felmur on: Mar 26 2008
 
Score 50%

download link doesn't works.


Reply to this

-

 Re: wrong link

 
 by sequitur on: Apr 1 2008
 
Score 50%
sequitursequitur
Kitty Hooch
Home

I don't think it was the wrong link, but I know the server was down for a bit. I checked on the newest version and downloaed it just to be sure. If it's not working now something would have to be really weird.


Eric Laffoon
kdewebdev (Quanta/Kommander) project lead

Reply to this

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team