473,464 Members | 1,729 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Date/Time class

Hello,

I'm looking for a complete C++ date class.
I found a lot of, that's why I wanted some advice.

Thx a lot
gg
Dec 25 '05 #1
4 7833
Almost always prefer the Boost library when an applicable one exists
for what you're trying to do, absent any other preferential indication.

http://www.boost.org/doc/html/date_time.html

Luke

Dec 25 '05 #2
I've read documentation about Boost, it sounds good
but the installation is not easy ! I'm working with MSVC 7
and I first have to compile the project in order to get lib
files .... but I can"t find any .vcproj file ....

any help ? thx !

Gg

"Luke Meyers" <n.***********@gmail.com> a écrit dans le message de news:
11**********************@g43g2000cwa.googlegroups. com...
Almost always prefer the Boost library when an applicable one exists
for what you're trying to do, absent any other preferential indication.

http://www.boost.org/doc/html/date_time.html

Luke

Dec 25 '05 #3
I haven't done a boost install myself, nor have I used it on windows or
within MSVC, so I can't offer specific advice (besides which, it would
be beyond the scope of this forum). However, I'd be surprised if there
weren't precompiled libraries available, or some MSVC-specific help out
there to be had. Boost is very much worth the effort, for much more
than just date/time.

Luke

Dec 26 '05 #4
ok thx
i've juste found a very nice article in order to compile Boost : very easy !

http://www.codeproject.com/tips/Buil..._libraries.asp

"Luke Meyers" <n.***********@gmail.com> a écrit dans le message de news:
11**********************@z14g2000cwz.googlegroups. com...
I haven't done a boost install myself, nor have I used it on windows or
within MSVC, so I can't offer specific advice (besides which, it would
be beyond the scope of this forum). However, I'd be surprised if there
weren't precompiled libraries available, or some MSVC-specific help out
there to be had. Boost is very much worth the effort, for much more
than just date/time.

Luke

Dec 26 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Gerrit Holl | last post by:
Posted with permission from the author. I have some comments on this PEP, see the (coming) followup to this message. PEP: 321 Title: Date/Time Parsing and Formatting Version: $Revision: 1.3 $...
1
by: ESPNSTI | last post by:
Hi, I'd like to be able to distinguish between a DateTime variable that is allowed to hold both date and time and a DateTime variable that is allowed to only hold a Date. The reason's for this...
9
by: Bob Achgill | last post by:
I would like to use the timestamp on files to manage the currency of support files for my VB windows application. In this case I would only put the timestamp of the file in the management database...
3
by: Peter | last post by:
ASP.NET 1.1, this is a Intranet application and runs only on IE. I have two webform text boxes which contain dates - starting date and ending date. The dates could be in any format. for...
12
by: Rob Meade | last post by:
Hi all, Ok - I've come from a 1.1 background - and previously I've never had any problem with doing this: Response.Write (Session("MyDate").ToString("dd/MM/yyyy")) So, I might get this for...
3
by: Jim in Arizona | last post by:
I have a gridview that's being populated from an access db query. The problem I'm having is that the date/time fields in access that are populating the gridview are showing both date and time, when...
3
by: Jeremy Chapman | last post by:
I've created a web service method which looks like public MatchResult CheckMatch(MatchData MatchValues) MatchData is a class defined as: public class MatchData { public string GivenName;...
2
cassbiz
by: cassbiz | last post by:
I am using strtotime and I have read up on some examples and am getting the wrong output, it jumps by several days instead of one day at a time. Ultimately what I am trying to accomplish is to set...
2
by: Andrus | last post by:
I need to display and edit only date part in DataGridView column whose data source type is DateTime?. The following code shows and allows to edit also time part. How to modify this code so that...
3
by: aRTx | last post by:
I have try a couple of time but does not work for me My files everytime are sortet by NAME. I want to Sort my files by Date-desc. Can anyone help me to do it? The Script <? /* ORIGJINALI
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.