Repository: gchq/CyberChef
File: src/core/config/OperationConfig.js (JavaScript)

Code before:
        ]
    },
    "To UNIX Timestamp": {
        description: "Parses a datetime string in UTC and returns the corresponding UNIX timestamp.<br><br>e.g. <code>Mon 1 January 2001 11:00:00</code> becomes <code>978346800</code>",
        run: DateTime.runToUnixTimestamp,
        inputType: "string",
        outputType: "number",
        args: [
            {
                name: "Units",
                type: "option",
                value: DateTime.UNITS
            },
            {
                name: "Treat as UTC",
                type: "boolean",
                value: DateTime.TREAT_AS_UTC
            }
        ]
    },
    "From Windows Filetime To UNIX":{
        description: "Converts a Windows Filetime timestamp to a datetime format",
        run: DateTime.runFromFiletimeToUnix,
        inputType: "string",
        outputType: "string",
        args: []
    },
    "To Windows Filetime From UNIX":{
        description: "Parses a datetime string in UTC and returns the corresponding Windows Filetime timestamp",
        run: DateTime.runToFiletimeFromUnix,
        inputType: "string",
        outputType: "string",
        args: []
    },
    "Translate DateTime Format": {
        description: "Parses a datetime string in one format and re-writes it in another.<br><br>Run with no input to see the relevant format string examples.",
        run: DateTime.runTranslateFormat,
        inputType: "string",
        outputType: "html",
        args: [
            {
                name: "Built in formats",
                type: "populateOption",
                value: DateTime.DATETIME_FORMATS,
                target: 1
            },
            {
                name: "Input format string",
                type: "binaryString",
                value: DateTime.INPUT_FORMAT_STRING
            },

Review comment (suggestion):
UNIX timestamps are sometimes expressed in seconds and sometimes in milliseconds. It would be nice to have an argument for this operation that allows the user to choose the output units (like in [the other UNIX timestamp operations](https://github.com/gchq/CyberChef/blob/master/src/core/operations/DateTime.js#L16)).

Code after:
        ]
    },
    "To UNIX Timestamp": {
        description: "Parses a datetime string in UTC and returns the corresponding UNIX timestamp.<br><br>e.g. <code>Mon 1 January 2001 11:00:00</code> becomes <code>978346800</code>",
        run: DateTime.runToUnixTimestamp,
        inputType: "string",
        outputType: "number",
        args: [
            {
                name: "Units",
                type: "option",
                value: DateTime.UNITS
            },
            {
                name: "Treat as UTC",
                type: "boolean",
                value: DateTime.TREAT_AS_UTC
            }
        ]
    },
    "Windows Filetime to UNIX Timestamp":{
        description: "Converts a Windows Filetime timestamp to a datetime format",
        run: DateTime.runFromFiletimeToUnix,
        inputType: "string",
        outputType: "string",
        args: [
            {
                name: "Output Units",
                type: "Option",
                value: DateTime.UNITS
            }
        ]
    },
    "UNIX Timestamp to Windows Filetime":{
        description: "Parses a datetime string in UTC and returns the corresponding Windows Filetime timestamp",
        run: DateTime.runToFiletimeFromUnix,
        inputType: "string",
        outputType: "string",
        args: [
            {
                name: "Input Units",
                type: "Option",
                value: DateTime.UNITS
            }
        ]
    },
    "Translate DateTime Format": {
        description: "Parses a datetime string in one format and re-writes it in another.<br><br>Run with no input to see the relevant format string examples.",
        run: DateTime.runTranslateFormat,
        inputType: "string",
        outputType: "html",