Skip to content

About

Get the time in the specified time zone

Resources

Stars

23 stars

Watchers

0 watching

Forks

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Latest commit

 

History

26 Commits

Folders and files

Repository files navigation

Get Time Action

Get the time in the specified time zone

Example usage

steps:
  - name: Get Time
    id: time
    uses: nanzm/get-time-action@master
    with:
      timeZone: UTC+8
      format: 'YYYY-MM-DD-HH-mm-ss'
  - name: Usage
    env:
      TIME: "${{ steps.time.outputs.time }}"
    run: |
      echo $TIME

Inputs

Parameter Required Info
timeZone false time Zone Default: UTC
format false timestamp format string Default:

Outputs

Parameter Info
time time in the specified time zone

License

MIT

About

Get the time in the specified time zone

Resources

Stars

23 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors