Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to generate a sequence of dates for import?

Featured Replies

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

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.

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)

  • Author

One time only but, looking ahead, I think the next reply is my answer...

thanks

  • Author

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.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.