Jump 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.

Inserting Date & Time

Featured Replies

Hi,

I have a button on my layout which will insert the date and time, however it all comes in as one long line...

6/22/20071:04:51 PM

Is there a way to add a space between the date and time?

Thanks,

James

Hi James,

Set the date and time?

Sure, set the field with Get ( CurrentTimeStamp) and it'll have a space. What are you currently using? If you are manually combining a date and time field, insert the space yourself as:

theDate & " " & theTime

UPDATE: And if your field (being set) *is* a timestamp field, it'll be much more useful in the future.

LaRetta

Edited by Guest
Added update

  • Author

Laretta,

I have created a script and currently use the two canned scirpts:

Insert Current Date

Insert Current Time

and I have selected the "Go To target Field"

I have attached the script to my button, and as I stated it does the job, but it places it all in one line.

So, do I understand that I should not use the canned script?

Never Mind the question above...I followed your directions and it worked like a charm!!!!!

Thanks for your time.

James

Edited by Guest

Ah just use Set Field. In your script just make it

Set Field[Your Table::Your Field ; Get( CurrentTimeStamp)

Another way is like Laretta was suggesting and it would look like.

Set Field[Your Table::Your Field ; Get ( CurrentDate )&" " & Get ( CurrentTime )

Both will produce the same thing.

Michael

  • Author

I cant read your postings for laughing at that darn cat with the headphones!!!!!!!!!!!

J

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.