Chapter 16: Working with Numbers, Dates, and Times

TitleDemoSourceLanguage
Converting a String to a Number recipe1601cs.aspx recipe1601cs.aspx source C#
Converting a String to a Number Recipe1601vb.aspx Recipe1601vb.aspx source VB.NET
Working on a Range of Numbers recipe1602cs.aspx recipe1602cs.aspx source C#
Working on a Range of Numbers recipe1602vb.aspx recipe1602vb.aspx source VB.NET
Converting Numbers Between Different Bases Recipe1603cs.aspx Recipe1603cs.aspx source C#
Converting Numbers Between Different Bases Recipe1603vb.aspx Recipe1603vb.aspx source VB.NET
Finding the Log of a Number recipe1604cs.aspx recipe1604cs.aspx source C#
Finding the Log of a Number recipe1604vb.aspx recipe1604vb.aspx source VB.NET
Formatting Numbers recipe1605cs.aspx recipe1605cs.aspx source C#
Formatting Numbers Recipe1605vb.aspx Recipe1605vb.aspx source VB.NET
Validating Credit Card Numbers recipe1606cs.aspx recipe1606cs.aspx source C#
Validating Credit Card Numbers recipe1606vb.aspx recipe1606vb.aspx source VB.NET
Performing Trigonometric Functions recipe1607cs.aspx recipe1607cs.aspx source C#
Performing Trigonometric Functions recipe1607vb.aspx recipe1607vb.aspx source VB.NET
Generating Random Numbers recipe1608cs.aspx recipe1608cs.aspx source C#
Generating Random Numbers recipe1608vb.aspx recipe1608vb.aspx source VB.NET
Accessing Today's Date and Time recipe1609cs.aspx recipe1609cs.aspx source C#
Accessing Today's Date and Time Recipe1609vb.aspx Recipe1609vb.aspx source VB.NET
Converting a String to a Date or Time recipe1610cs.aspx recipe1610cs.aspx source C#
Converting a String to a Date or Time recipe1610vb.aspx recipe1610vb.aspx source VB.NET
Determining Date or Time Intervals recipe1611cs.aspx recipe1611cs.aspx source C#
Determining Date or Time Intervals recipe1611vb.aspx recipe1611vb.aspx source VB.NET
Formatting Dates and Times recipe1612cs.aspx recipe1612cs.aspx source C#
Formatting Dates and Times Recipe1612vb.aspx Recipe1612vb.aspx source VB.NET
Benchmarking a Section of Code recipe1613cs.aspx recipe1613cs.aspx source C#
Benchmarking a Section of Code recipe1613vb.aspx recipe1613vb.aspx source VB.NET
Pausing Your Program recipe1614cs.aspx recipe1614cs.aspx source C#
Pausing Your Program recipe1614vb.aspx recipe1614vb.aspx source VB.NET
Adding to a Date or Time recipe1615cs.aspx recipe1615cs.aspx source C#
Adding to a Date or Time recipe1615vb.aspx recipe1615vb.aspx source VB.NET

  "Bought the cookbook a few weeks ago; popped it on the side of my desk and bookmarked some pages. There it lay for 10 days... then I got a project with a short deadline. This book is my salvation - I just used about 10 of the techniques from there, and the client is happy with the prototype. Never will I doubt again; a little £30 investment saved me hours for a proof of concept and will no doubt save me more time as the development progresses. A big thumbs up for Steve et al from the UK."
David Miles
DNA Consulting Limited