Time.UnixTimeStampToFileMaker
-----------------------------

Converts time from unix to FileMaker.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Time](component_Time.md) | [8.3](newinversion83.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Time.UnixTimeStampToFileMaker"; UnixTime { ; GMT } ) 

**MBS**( **"Time.UnixTimeStampToFileMaker";** /\* Converts time from unix to FileMaker. \*/  
**$UnixTime**; /\* The time value from unix.e.g. 1527786192 \*/   
**$GMT**) /\* Optional; Pass 1 for GMT or 0 for local time zone.  
Default is 0 for local time.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| UnixTime | The time value from unix. | 1527786192 |  |
| GMT | Pass 1 for GMT or 0 for local time zone.   Default is 0 for local time. | 0 | Optional |

### Result

Returns OK or error.

### Description

Converts time from unix to FileMaker.  
Pass unix time, which is number of seconds since 1970.  
### Examples

Convert time:

 MBS ( "Time.UnixTimeStampToFileMaker"; 1527786192 )  
<small>  
Example result: "31.05.2018 19:03:12"</small>### See also

- [Time.UnixTimeStamp](TimeUnixTimeStamp.md)

### Release notes

- **Version 10.3**
    - Fixed time zone handling for [Time.UnixTimeStamp](https://www.mbsplugins.eu/TimeUnixTimeStamp.shtml) and [Time.UnixTimeStampToFileMaker](https://www.mbsplugins.eu/TimeUnixTimeStampToFileMaker.shtml) functions.
- **Version 8.3**
    - Added [Time.UnixTimeStampToFileMaker](http://www.mbsplugins.eu/TimeUnixTimeStampToFileMaker.shtml) function.

### Blog Entries

- [MBS FileMaker Plugin, version 10.3pr2](https://www.mbsplugins.de/archive/2020-06-08/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 8.3pr1](https://www.mbsplugins.de/archive/2018-06-04/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 31st May 2018 , last changed 31st May 2018

  
[Time.UnixTimeStamp](TimeUnixTimeStamp.md) - [Time.Wait](TimeWait.md)

[HTML Version](TimeUnixTimeStampToFileMaker.shtml)