title: How to extract actual timestamp in Cloud Build CI/CD pipeline yaml script or Cloud Build Triggers page
body: <p>I have a <code>cloud_build.yaml</code> script for my CI/CD pipeline on GP using Cloud Build. In command line I can pass a subtitution variable which will include the actual timestamp: <code>"notebook-instance-$(date +%Y-%m-%d-%H-%M)-v05"</code>. This is working fine.</p>
  
  <p>When I add github trigger on the Cloud Build webpage, then I didn't find the way to get the timestamp extracted in the same way that I was using in cli <code>$(date +%Y-%m-%d-%H-%M)-v05</code>:
  <a href="https://i.stack.imgur.com/x7txU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/x7txU.png" alt="enter image description here"></a></p>
  
  <p>Any idea idea how to do that on the Triggers Cloud Build page ?</p>
  
  <p>I aslo tried to do it inside the <code>cloud_build.yaml</code> script  but without success for now. </p>
  
  <pre><code>- name: 'gcr.io/cloud-builders/gcloud'
    id: Deploy the AI Platform Notebook instance
    args: 
    - 'deployment-manager'
    - 'deployments'
    - 'create'
    - '$(date -u +%Y-%m-%d-%H-%M)-${_NAME_INSTANCE}'
  </code></pre>
  
  <p>Any idea how to extract and create a variable using the actual timestamp in the .yaml CloudBuild script ?</p>
  
  <p>A third option is to extract the timestamp in my .jinja deployment script. Here I get the same issue as well that I don't find the way to to extract the actual timestampt to build my variable name.</p>