• 现在应用程序的设计是一个命令行工具,用于输出当前的日期和/或时间根据给定(中。NET)的格式。

    输出始终是一种单行线,因此它可以很容易地被用来在批脚本。 现在也是一个方便的工具,以学习使用。净的格式的日期和时间。 文化还可以设置。

    当现在被调用,而不论点,它输出的几个实例(组合)的格式和文化。

    当调用1的论点,该论点是作为的格式;与2给出的参数,第二个论点被认为是一种文化,例如'en-US"或"n-l-n-l'.

    与正常的输出,0返回的退出代码的应用程序。 当遇到一个错误1返回,同时-1时返回,现在是援引,而不论点。

  • अब आवेदन के लिए डिजाइन किया गया था होना करने के लिए एक कमांड लाइन उपकरण है कि outputs वर्तमान दिनांक और/या समय के अनुसार एक दिया (.नेट) प्रारूप.

    आउटपुट हमेशा के लिए एक एकल लाइन है, तो यह आसानी से कर सकते हैं में इस्तेमाल किया जा बैच स्क्रिप्ट है । अब भी है के लिए एक उपयोगी उपकरण सीखने का उपयोग करने के लिए है । नेट की तरह प्रारूपण दिनांक और समय. संस्कृति भी सेट किया जा सकता है ।

    जब अब लाया जाता है, बिना तर्क, यह outputs के कई उदाहरण (के संयोजन) प्रारूपों और संस्कृतियों.

    जब लागू के साथ 1 तर्क, तर्क का इस्तेमाल किया जाता है के रूप में प्रारूप के साथ; 2 तर्क दिया जाता है, दूसरा तर्क माना जाता है एक संस्कृति में, उदाहरण के लिए 'en-US' या 'nl-NL'.

    सामान्य उत्पादन, 0 लौट रहा है के रूप में बाहर निकलने के कोड के लिए आवेदन । जब एक त्रुटि का सामना करना पड़ा है 1 वापस आ रहा है, जबकि -1 वापस आ रहा है जब अब लाया जाता है, बिना तर्क.

  • The Now application was designed to be a command-line tool that outputs the current date and/or time according to a given (.NET) format.

    The output is always a single line, so it can easily be used in batch scripts. Now is also a handy tool to learn to use .NET's way of formatting dates and times. The culture can also be set.

    When Now is invoked without arguments, it outputs several examples of (combinations of) formats and cultures.

    When invoked with 1 argument, the argument is used as the format; with 2 arguments given, the second argument is considered a culture, e.g. 'en-US' or 'nl-NL'.

    With normal output, 0 is returned as the exit code for the application. When an error is encountered 1 is returned, while -1 is returned when Now is invoked without arguments.