Support 805.461.7300
Sales
Our Technology. Your Success.

Insert Slashes into a field with a date

Description

This command will insert slashes after the two digit month and two digit day in a character type field that contains a date. This command works when the date is originally a 6 digit number (eg. 021898) character field. To make sure this field is a character type, pull down the Edit menu to Fields, and check the Type column.

The Command At Work

Before Command After Command
Before running the command
After running the command

The Command

Copy this command, then paste it into the large text area of the command window:

replace thedate with stuff(stuff(thedate,3,0,"/"),6,0,"/") for !"/" $ thedate

In the command above, "thedate" represents your field that contains your dates. In the command, rename "thedate" to match your field name that contains the dates.

After clicking RUN, slashes will be inserted into proper places within the dates.

« Back to Commands

I got a virus and had to have my computer practically rebuilt resulting in losing my custom settings, etc. I just finished an online remote session with Geoff. He was amazingly helpful, patient and upbeat. He spent over 1½ hours with me. Not only did he help me with what I asked him for, he gave me a lot of additional information making my mailing process easier. I've been using AccuZIP for years now and have never taken the time to commend the company for its excellent customer service. I have had good experiences with all of your techs and will absolutely recommend you to anyone I know who needs this kind of software. Thank you for such a user-friendly, customer friendly program!
S.F., Kansas City, MO