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.

Featured Replies

  • Author

I need to be able to create a filemaker calculation field that converts a given date into unix format. I have the formula for excel:

[(DATE(Year,Month,Day)+TIME(Hour,Minute,Second)-25569)*(86400)]

but converting the date to a numerical format in excel is not equaling the number that filemaker gives me. Help! confused.gif

I need to be able to create a filemaker calculation field that converts a given date into unix format. I have the formula for excel:

[(DATE(Year,Month,Day)+TIME(Hour,Minute,Second)-25569)*(86400)]

but converting the date to a numerical format in excel is not equaling the number that filemaker gives me. Help! confused.gif

  • Author

I need to be able to create a filemaker calculation field that converts a given date into unix format. I have the formula for excel:

[(DATE(Year,Month,Day)+TIME(Hour,Minute,Second)-25569)*(86400)]

but converting the date to a numerical format in excel is not equaling the number that filemaker gives me. Help! confused.gif

Try for the date part:

((Date Entry - Date(1,1,1970)) * 86400)

I've never used this, I only collected it from some post.

HTH

Lee

Try for the date part:

((Date Entry - Date(1,1,1970)) * 86400)

I've never used this, I only collected it from some post.

HTH

Lee

Try for the date part:

((Date Entry - Date(1,1,1970)) * 86400)

I've never used this, I only collected it from some post.

HTH

Lee

  • Author

Yes, that helped tremendously because it works! Thank you!

  • Author

Yes, that helped tremendously because it works! Thank you!

  • Author

Yes, that helped tremendously because it works! Thank you!

Oh, you mean Unix time. Try this:

Let ( [

UnixEpoch = Timestamp ( Date ( 1 ; 1 ; 1970 ) ; Time (0 ; 0 ; 0 ) ) ;

Offset = Time ( GMT ; 0 ; 0 ) ;

Now = Timestamp ( theDate ; theTime - Offset )

] ;

GetAsNumber ( Now - UnixEpoch )

)

/*

GMT = the difference, in hours, between your local time and GMT

Example:

for EASTERN STANDARD TIME enter -5;

for EASTERN DAYLIGHT SAVING TIME enter -4.

*/

Oh, you mean Unix time. Try this:

Let ( [

UnixEpoch = Timestamp ( Date ( 1 ; 1 ; 1970 ) ; Time (0 ; 0 ; 0 ) ) ;

Offset = Time ( GMT ; 0 ; 0 ) ;

Now = Timestamp ( theDate ; theTime - Offset )

] ;

GetAsNumber ( Now - UnixEpoch )

)

/*

GMT = the difference, in hours, between your local time and GMT

Example:

for EASTERN STANDARD TIME enter -5;

for EASTERN DAYLIGHT SAVING TIME enter -4.

*/

Oh, you mean Unix time. Try this:

Let ( [

UnixEpoch = Timestamp ( Date ( 1 ; 1 ; 1970 ) ; Time (0 ; 0 ; 0 ) ) ;

Offset = Time ( GMT ; 0 ; 0 ) ;

Now = Timestamp ( theDate ; theTime - Offset )

] ;

GetAsNumber ( Now - UnixEpoch )

)

/*

GMT = the difference, in hours, between your local time and GMT

Example:

for EASTERN STANDARD TIME enter -5;

for EASTERN DAYLIGHT SAVING TIME enter -4.

*/

Create an account or sign in to comment

Important Information

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

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.