What's Hot| Upload Video| Email this Page| Your Account

Standard C Date/Time Library: Programming the World's Calendars and Clocks

Does the year 2000 have you sweating late-night code? Use our complete library of C programming functions to master 'Y2K', time on the net, ISO 8601, time stamp compression, or any other time/date application you encounter. Using the astronomers' Julian Day calendar as a common denominator between the world calendars, Lance Latham has solved the conversion of virtually all the world calendars (including the Chinese!). Need to convert dates in the Maya calendar to equivalent dates in the Egyptian calendar? Plug in the modules, write a few lines of code, and away you go! The toolkit provides all of the basic Western calendar/clock applications (written in clear, straightforward C) and designed to fit into your application with a minimum of fuss. You'll learn to create tools that update system clocks for the twice-yearly time change, synchronize networked systems across time zones, and convert date stamps between the various calendar systems of the world. Delphi and VB programmers will find Windows DLLs for Gregorian and Julian calendar functions on the CD-ROM. A bonus: after you've solved all of your worldly time and date problems you can play with the calendar for Mars to test your knowledge of universal calendar principles!  more

BestDeal

$41.13 at Amazon
Write a product review

ProductReviews

1-7 out of 7
  • From: Amazon
  • Posted: Nov-21-2002

Beware the legal conditions

When I looked at this book, I checked the terms and conditions on using the code, and bascially, those Ts&Cs say "thou shalt not alter a darn thing in the code". I think those who attempt to fix bugs in it should be very wary -- the licence as I read it (but I'm not a lawyer) said that you could...

Read full review | Report as inappropriate
  • From: Amazon
  • Posted: Mar-11-2002

Julian Day to Gregorian bug clarified

I'd like to clarify the bug that was reported in an earlier review. The bug is in JD0_to_gregorian. Don't worry, though. You can just use JD0_to_gregorian_proleptic which works just fine! The strange thing is even the comments say the 2 functions are identical. I suggest copying the code of the...

Read full review | Report as inappropriate
  • From: Amazon
  • Posted: Nov-14-2001

Beware: bugs ahead!

I purchased this book out of interest, but then, as always, there comes a time when you reach for a reference book to help out when you need something coded. Well, that's what I did, and unfortunately the book has basic errors in its Julian to Gregorian conversion routine. Minor, I know, but...

Read full review | Report as inappropriate
  • From: Amazon
  • Posted: Jan-20-1999

More than just algorithms

This isn't merely a list of algorithms (though the number of included date/time programs is extensive); it gives a background and an explanation for the major calendar systems and many of the obscure ones. So I'd recommend it not just for "C programmers" but to anyone who cares about calendars...

Read full review | Report as inappropriate
  • From: Amazon
  • Posted: Dec-05-1998

A superb handbook for date/time programming

If you are a computer programmer, don't write any (more) date/time code until you see how Lance Latham does it! This book contains comprehensive, organized solutions to all the date/time problems you are likely to encounter, including tricky ones such as "What is the date N days after date...

Read full review | Report as inappropriate
  • From: Amazon
  • Posted: Nov-27-1998

Standard C Date/Time Library (SCDTL)

I must admit that I'm not a programmer any more but I have read Lance's impressive book as I'm very interested in calendar problems. The book reveal Lance as an extremely competent programmer who writes his program codes in an easily understandable form ready for use for many date/time...

Read full review | Report as inappropriate
  • From: Amazon
  • Posted: Aug-24-1998

Exhaustive book on calendar history and calculations

This thick book is heavy in research. Not only does it have much hard to find historical data about many of the world's calendars, but it contains exhaustive details on the calculations (with computer algorithms). Although there is some Y2K stuff - this is not the emphasis of the book. Much...

Read full review | Report as inappropriate

MoreStores

10
Page 1 of 1

SimilarProducts

close
close

More legal stuff: Smarter.com is a comparison shopping website that compares prices and products at online stores to help consumers save money. Stores are responsible for providing us with accurate price and product information, including the proper codes for coupons, discounts and rebates. Tax and shipping costs are estimates. Please confirm all costs before making your final purchase at the online store. All merchant ratings, product reviews and video reviews are submitted by shoppers or third-party websites. We are not responsible for their content. If you have any concerns about content on our website, please contact us.