Skip to content
arrow-right-circle

GitHub Action

Get Time Action

1.0 Latest version

Get Time Action

arrow-right-circle

Get Time Action

Get the time in the specified time zone

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Get Time Action

uses: JantHsueh/get-time-action@1.0

Learn more about this action in JantHsueh/get-time-action

Choose a version

Get Time Action

Get the time in the specified time zone

Example usage

      - name: Get Time
        id: time
        uses: JantHsueh/get-time-action@master
        with:
          timeZone: 8

Inputs

Parameter Required Info
timeZone true time Zone Default: 8 ,East is positive and West is negative. e.g.: UTC/GMT+08:00 set timeZone: 8

Outputs

Parameter Info
time time in the specified time zone

License

MIT