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

Change language to:
English - Français - Português

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

Scilab help >> Time and Date > 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 — 曜日を返す


  • P.M
<< 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:
Wed Oct 05 12:12:59 CEST 2011