Add new variable in Computed field
Yes you can 

Computed Field is a very powerful field module that lets you add a custom "computed
fields" to your content types.



  These computed fields are populated with values that you
      define via PHP code.