code: def _get_formatted_timestamp(app_type):
      """Different services required different date formats - return the proper format here"""
      if app_type.startswith("duo"):
          return 1505316432
      if app_type.startswith("onelogin"):
          return "2017-10-10T22:03:57Z"
      if app_type.startswith("gsuite") or app_type == "salesforce":
          return "2017-06-17T15:39:18.460Z"
      if app_type.startswith("box"):
          return "2017-10-27T12:31:22-07:00"
      if app_type == "slack":
          return 1422922593
      if app_type == "aliyun":
          return "2018-07-23T15:42:11Z"
  
      return 1234567890
  
file_path: streamalert/tests/unit/streamalert/apps/test_helpers.py
imports: import json
  import boto3
  from botocore.exceptions import ClientError, ParamValidationError
label_desc: Use image node_id 3 for calling a global function with example usage: _get_formatted_timestamp(app_type) and returns: int, int, str, str, str, int, str