Skip to content

nanzm/get-time-action

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

No packages published