Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.0 - 日本語

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Time and Date > weekday

weekday

曜日を返す

呼び出し手順

[N,S] = weekday(D)
[N,S] = weekday(D, form)

説明

[N,S] = weekday(D) は, 日数 n または日付文字列Dで指定すると, 数値(N) および文字列(S)形式で曜日を返します. 入力引数 D は,日数の配列で複数の日を表すことができます.

[N,S] = weekday(D, form) は, 数値(N) および文字列(S)形式で曜日を返しますが, S の内容は form 引数に依存します. form が 'long'の場合, S には完全な曜日 (例: Thuesday)が含まれます. form が 'short'の場合, S には短縮形 (例: Tue) が含まれます.

today = datenum();
[N,S] = weekday(today)
[N,S] = weekday(today,'short')
[N,S] = weekday(today,'long')

参照

  • datenum — シリアル日付番号に変換する
  • datevec — 日付の要素
  • weekday — 曜日を返す
Report an issue
<< toc Time and Date Output functions >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Oct 01 17:40:36 CEST 2012