Welcome Guest | My Membership | Login

Six Million Dollar Date


Summary

In the opening to the TV show, Six Million Dollar Man, they promised to rebuild him - better, faster, and stronger. This occasional series, the Six Million Dollar _____ will offer suggestions on how to elevate mvBASIC commands by making them better, faster, and stronger. We have the technology.

Getting data into an mvBASIC program requires a READ or an INPUT. While I have seen many, many attempts at creating a wrapper around the INPUT command, the diversity of data we push through often makes the wrapper into a programming language unto itself, using dozens of parameters and conditionals to attempt a one-size-fits-all solution. Instead of trying to be everything to everything , our six million dollar DATE will be an input wrapper focused on getting date-related input right. Sometimes limiting scope is the best answer.

Dates take on many forms: most operating systems have a time-date stamp based on an epoch. MultiValue has a epoch based on date alone. Europeans write dates as day/month/year while Americans write month/day/year. People who care about sorting external dates use year/month/day. Then there's Julian format, longhand (1 June 1981), and shorter longhand (28 Sept 1985). Reasonably, our wrapper needs to understand all of them (plus two bonus cases to be discussed later) and should be able to convert them any-to-any for use [

Read More...

Social Media Login

Use your existing social media logins to access your Membership/Subscription information.

Existing Magazine/Newsletter Subscriber (Quick Access)

If you are an existing International Spectrum subscriber, but have not registered with the website, please enter the Reference Code found on the magazine or in the e-mails you receive from us.

Magazine Reference Code location

Spectrum Login

New Subscriber

If you currently do not receive the Magazine or other emails from International Spectrum, select the "Subscribe" button below to create an new membership account.


 

Find out more about the different between the FREE and a Professional Membership at:
Compare Account Options

 

# # #          # # #          # # #

 

Related Articles

  • Using OWIN Security with MultiValue Data - Part 2

    Company: International Spectrum

    Part 2 in our series on OWIN, the latest framework that .NET developers are using to build ASP.NET applications. Integrating your MultiValue data into the OWIN identity framework allows central management of user and customer credentials from within your existing LOB (Line Of Business) application.

  • UniVerse and Python - it's here!

    Company: Brian Leach Consulting, ltd Database: UniVerse

    UniVerse has added Python as an integral part of the system, much like UniBasic. This article explores Brian Leach's experience with using Python within UniVerse, and how it works with the reset of UniVerse.

  • Business Tech: Same Difference

    Company: HDWP

    It is easy to see businesses as unique snowflakes but it's equally easy to see them as all the same. As professionals, whether employees or consultants, we need both perspectives in the course of our work life. While we can make the case the Amazon isn't eBay, we can also make the case that your accountant and your dog groomer are in the same business.

  • Numeric to Alpha Translation

    Database: D3, Advanced Pick, AREV, jBASE, Mentor/PRO, mv*Base, mvEnterpise, OpenInsight, OpenQM, Reality, Ultimate, UniVerse, UniData, UniVision

    The attached subroutine will convert a numeric values to their alphabetic values. The number "4" converts to "four"; "25" converts to twenty five, etc. There is also an option that will allow you to change a numeric value into an alphabetic count. For example, 4 converts to "forth", "25" converts to twenty-fifth.

  • SBClient: Execute Windows Command on Workstation

    The following code will allow a MultiValue BASIC routine to execute a Windows/DOS command on the Workstation that is running SBCLIENT, SB/XA Browser Client, and SB/XA Rich Client.


Return to top