Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5310 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I've got a simple spreadsheet that I want to import. The problem is that I've got a date column that I didn't format as a date. It's actually two columns of text data, one showing the day of week and one showing the day of the month. I've attached an image to illustrate.

The only solution I can think of is to import the data without those two columns and add an empty date field.

Then my query becomes: how do I enter a sequence of dates? Could I use Replace Field Contents with a series of numbers that could be then converted to dates? Or is there a way to do this with a calculation?

numbers.png

Posted

Hi,

As I can see - you have a sequence of days from date.

Question is - do you need to convert to dates once (after import) or calculate all the time?

If once, I'll use temporary script - starting from first record and looping through the end and new date field.

You can use LeftWords function to get next or current month.

And year is defined by script.

Posted

how do I enter a sequence of dates? Could I use Replace Field Contents

Yes, you can Replace Field Contents of your date field with a calculated result, e.g. =

Date ( 12 ; 28 ; 2009 ) + Get (RecordNumber)

Posted

Yes, you can Replace Field Contents of your date field with a calculated result, e.g. =

Date ( 12 ; 28 ; 2009 ) + Get (RecordNumber)

Fantastic! Exactly what I was hoping for.

Thank you lots.

This topic is 5310 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.