Differences

This shows you the differences between two versions of the page.

Link to this comparison view

expression function - month name abbreviated [2016/09/14 14:19] (current)
Line 1: Line 1:
 +====== Month Name Abbreviated (Expression Function) ======
  
 +===== Purpose =====
 +The **Month Name Abbreviated** function (MONTH_NAME_ABBREVIATED) generates a string that represents the month name abbreviated for a timestamp provided in a given timezone. ​
 +
 +{{:​month_name_abbreviated_initial.png?​direct&​600|}}
 +
 +===== Parameters =====
 +The **Month Name Abbreviated** function has two parameters, one of which is required:
 +
 +==== Timestamp ====
 +
 +Allowed Inputs: [[Field|field]] value or a number representing a Unix timestamp.
 +
 +There are several sources of Unix timestamps available. ​ For example the stored value of a [[Field Type - Date|date]] or [[Field Type - Date Time| date time]] field is a Unix timestamp. ​ Also When using the advanced interface the output of the [[Expression Function - Date|date]] or [[Expression Function - Date and Time| date time]] expression function is a Unix timestamp.
 +
 +==== Timezone ====
 +
 +Allowed Inputs: [[Field|field]] value or a text string
 +
 +The second optional parameter of the **Month Name Abbreviated** function is a string that represents the timezone. ​ Either use the  query builder to choose a field that contains the value or use type a value to enter a number. ​ The value should be based on the tz (timezone) database used by Linux and other Unix system in the form “Area/​Location” e.g. "​America/​New_York"​. ​ If no value is provided then the current user's timezone is used.
 +
 +===== Output =====
 +
 +The output of the **Month Name** function is string representing the month name abbreviated for the value of the timestamp provided in a given timezone.
 +===== Example =====
 +
 +For example MONTH_NAME_ABBREVIATED(1349047828,"​America/​New_York"​) would result in "​Sep"​ and MONTH_NAME_ABBREVIATED(1349047828,"​Asia/​Tokyo"​) would result in "​Oct"​.
expression function - month name abbreviated.txt · Last modified: 2016/09/14 14:19 (external edit)
Copyright WorkXpress, 2019