このコンテンツはお使いの言語では利用できません。

This article describes how to apply formatting in a numbering scheme definition.

Introduction

The Vitextra Number Generator automatically generates a column value based on other columns and sequences.

Numbering scheme example

Supported Column Types

Number Generator supports the following SharePoint column types:

  • Date and Time
  • Number
  • Counter
  • Integer

📝 Note
The formatting rules are the same for the Number, Counter, and Integer types.

Define Formatting

To apply formatting, use the following syntax:

[DateColumn:format]

DateTime Column Formatting

DateTime formatting can be applied only to the Date and Time column type. Some common format values are:

SpecifierDescriptionValueOutput
yyyyThe year as a four-digit number4/12/1986 9:15:001986
yyThe year, from 00 to 994/12/1986 9:15:0086
MMThe month, from 01 through 124/12/1986 9:15:0004
MMMThe abbreviated name of the month4/12/1986 9:15:00Apr
MMMMThe full name of the month4/12/1986 9:15:00April
dThe day of the month, from 1 through 314/2/1986 9:15:002
ddThe day of the month, from 01 through 314/2/1986 9:15:0002
dddThe abbreviated name of the day of the week4/12/1986 9:15:00Sat
ddddThe full name of the day of the week4/12/1986 9:15:00Saturday
hThe hour, using a 12-hour clock from 1 to 124/12/1986 9:15:009
hhThe hour, using a 12-hour clock from 01 to 124/12/1986 9:15:0009
HThe hour, using a 24-hour clock from 0 to 234/12/1986 9:15:009
HHThe hour, using a 24-hour clock from 00 to 234/12/1986 9:15:00 PM21
mThe minute, from 0 through 594/12/1986 9:05:005
mmThe minute, from 00 through 594/12/1986 9:05:0005
ttThe AM/PM designator4/12/1986 23:15:00PM

The column reference and the format, separated by a colon, must be enclosed in square brackets.

For example, to format the Created column in a numbering scheme:

[Created:yyyy-MM-dd]

For the value 2/10/2020 11:00 AM, the output is 2020-02-10.

📝 Note
The culture used to format the date value is determined by the site where the list or library is located.

Number Column Formatting

Number formatting can be applied to number column types and to sequences.

The following table describes the numeric format specifiers.

SpecifierDescriptionValueFormatOutput
0Replaces the zero with the corresponding digit if one is present2350000000235
#Replaces the # symbol with the corresponding digit if one is present235#####235
.Determines the location of the decimal separator in the result string23.5#.0023.50
,Determines the location of the group separator in the result string1235#,#1,235

📝 Note
Use 0 to display insignificant zeros: when a number has fewer digits than there are zeros in the format, the zeros appear in the result string.

質問と回答

この記事について質問すると、サポートチームから公式回答を受け取れます。

まだ質問はありません。最初の質問を投稿しましょう。

注目の記事

My Tasks: 期限列、期限超過の強調表示、クイック フィルター

Vitextra My Tasks の期限列の仕組みを説明します。期限を過ぎたタスクの赤色表示、「すべての日付」「期限超過」「今日」「今週」を選べる期限メニュー、各フィルターの正確な定義、期限による並べ替え、期限のないタスク、ソースごとの期限の取得元がわかります。

104 1 分
Azure DevOps Query Viewer: 複数のクエリ タブ、グループ化、検索、列のリセット

Azure DevOps Query Web パーツのリファレンスです。クエリ タブ (追加のクエリ 1 ~ 3)、「更新」「列」「グループ化」を備えたコマンド バー、フィールド検索ボックスと「クエリ列にリセット」、ツリー クエリの動作、並べ替え、1000 件の上限、クエリごとの個人設定、更新時刻の表示を説明します。

92 1 分
ゲスト Wi-Fi の QR コードを作成する方法

Vitextra QR Code Generator Web パーツを使用して、スマートフォンをゲスト Wi-Fi に接続する QR コードを作成する手順を説明します。ネットワーク名、パスワード、暗号化の入力、読み取りやすいコードにする設定、テスト、印刷または SharePoint ページでの公開、パスワード変更時の更新を取り上げます。

101 1 分

共有