Tag:date

  • Regular expressions matching yyyy MM DD date format

    Time:2021-1-15

    In fact, I also have a headache about regular expressions. Baidu has collected some information. To sum up, let’s leave a backup here. Questions to consider: what is the legal date; the number of days in each month is different; the problem of leap year…. 1. Legal date: the date and time between 12:00:00 midnight […]

  • Usage examples of shell language date

    Time:2020-12-20

    I didn’t do anything serious today. I had a meeting. I’d like to write some knowledge about Shell Scripting Language. This is also the method used in completing the requirements of a business side two days ago. I hope it will be useful to you. First of all, let’s see how the date function is […]

  • Processing method of Oracle date type field

    Time:2020-10-30

    (1) In the English version of Oracle, the default date format is’ dd-mon-yy ‘, for example,’ 01-jan-98 ‘ In the Chinese version, the default date format of Oracle is’ Day Month Year ‘, such as’ 21-august-2003′ or ’21-august-03′ (2) Convert string to date Using Oracle inner function to_ date() To_ The parameter of the date() […]

  • Implementation of batch output of string or date to windows clipboard

    Time:2020-10-5

    The following operations need the help of clip.exe (C:\Windows\System32\ clip.exe ), which comes with the system and does not need to be downloaded. C:\Windows\System32>clip /?   CLIP  Description:Redirects the output of the command line tool to the windows clipboard. This text output can be pastedTo other programs.  Parameter list:/? Displays this help message.  Example:Dir | […]

  • Code of searching folder by date under vbs

    Time:2020-9-26

    On Error Resume Next dtmTargetDate = “20020301000000.000000-420” strComputer = “.” Set objWMIService = GetObject _     (“winmgmts:” & “!\\” & strComputer & “\root\cimv2”) Set colFolders = objWMIService.ExecQuery _     (“Select * from Win32_Directory Where CreationDate > ‘” & _         dtmtargetDate & “‘”) For Each objFolder in colFolders     Wscript.Echo objFolder.Name  Next

  • Date format using date in golang (using java style)

    Time:2020-9-16

    This paper introduces the use of date in golang to format the date. The details are as follows: Github https://github.com/noogo/date Date Date is a date package based on time wrapper. Through this package, you can quickly create date, get time stamp, milliseconds and most important date format. In addition, you can continue to use all […]

  • How do desktop computers change the time and date?

    Time:2020-9-5

    Next, I’d like to introduce the method of changing the time of desktop computer to novice. Notebook is also the same method. I hope it can help you. step First find the bottom left corner where the time is displayed and click set time and date Click and open it, and click on it as […]

  • Detailed explanation of optimizing the performance of date format in Vue

    Time:2020-7-9

    In many projects, it is necessary to convert the long integer date format to other date formats. In Vue, we can customize the corresponding filter filter to perform the function of date format. If you directly introduce the method of moment, when using NPM run build — report, you will find that moment.js The file […]

  • Code of creating folder with date by batch processing

    Time:2020-7-8

    Core code: Copy codeThe code is as follows: @echo off MD “photo% date: ~ 0,4% date: ~ 5,2%” The current date% date: ~ 0,4% is a year and% date: ~ 5,2% is a month

  • DOS batch date command using method

    Time:2020-7-7

    1. System helpC:\>date /? Displays or sets the date. DATE [/T | date] Type date without parameters to display the current date setting and promptYou enter a new date. Press enter to keep the original date. If the command extension is enabled, the date command supports the / t command option, which tellsThe command outputs […]

  • IOS custom uidate picker date selector view sharing

    Time:2020-6-24

    Due to the needs of the project, a date selector needs to be customized. After finding the right one for a long time, I wrote a demo myself Customize the uidatepicker date selector view The effect is as follows: Here is the code: ViewController: <pre name=”code”>- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup […]

  • Analysis of MySQL date processing function instance

    Time:2020-6-15

    This article mainly introduces the example analysis of MySQL date processing function. The example code is introduced in detail in this article, which has certain reference value for your study or work. You can refer to the following for your friends First, create a table for experiment drop table if exists t_student; create table t_student( […]