Questions tagged [datestamp]
86 questions
1
vote
2 answers
Date Stamp into a String
I'm sure this is a easy problem, but I just can not seem to find how to do this anywhere. I need to use the current Date and save it into a String. I do not know how to get the dat stamp.
Could someone please help me out?
Thank you for your…

Jeff
- 159
- 1
- 4
- 13
1
vote
1 answer
Is it possible to have an automatic datestamp in Google Spreadsheet for cells that have *previously been filled out*?
That is, I have information in column B, and I'd like a datestamp in column C noting when column B was filled out. I see a bunch of onEdit scripts, but I'd like it to be retroactive--those cells have already been filled out. Is that possible? …

user1781552
- 13
- 2
1
vote
1 answer
Yii: how to format a mysql datestamp according to locale?
I'm at my first day with Yii
I've just learned how to filter columns
$dataProvider=new CActiveDataProvider('User',
array(
'criteria' => array(
'select' => 'id, username, realname, email,…

realtebo
- 23,922
- 37
- 112
- 189
0
votes
1 answer
Batch file to add today's date, yesterday's date, previous day's date as extension to file name
The following takes a file, MB5L.txt and compresses it into a zip file with the date as part of the file name:
@For /F "tokens=1,2,3,4 delims=/ " %%A in ('Date /t') do @(
Set DayW=%%A
Set Day=%%B
Set Month=%%C
Set Year=%%D
Set…

user1189773
- 51
- 2
- 3
0
votes
0 answers
In C, reading a date stamp string from the keyboard
I've looked at other posts about reading strings from the keyboard with C and haven't found an answer to this question, or perhaps I didn't recognize the answer.
I need for the user to be able to enter a formatted timestamp from the keyboard and…

WalterCEden
- 11
- 2
0
votes
1 answer
How do I download this file to a folder with the current day's date stamp?
I have the below code which downloads a sheet to a folder on my computer. How do I have it download the excel sheet to a newly created folder with the current day's datestamp? So for example, I want the file to download to a folder…

Charles Shin
- 3
- 2
0
votes
1 answer
How I insert a time-date-stamp in MongoDB with a Golang Sruct?
I have the following struct:
type TypeIncidence struct {
Number int bson:"number" json:"number"
Description string bson:"description" json:"description"
Date_time_stamp string bson:"dateTimeStamp" json:"date_time_stamp"
}
and I want insert a…

grafeno30
- 479
- 1
- 5
- 17
0
votes
1 answer
how to create a directory with datestamp as its filename in jenkins pipeline?
bat 'set OutputFolderName=%date:~12,2%%date:~4,2%%date:~7,2%_%time:~0,2%%time:~3,2%%time:~6,2%'
bat 'mkdir %OutputFolderName%'
These two commands should give the correct output but they aren't working.
This is the error I got:

Will
- 3
- 3
0
votes
4 answers
How do I split this datestamp in Google Sheets
I have a datestamp in this format on C6:
21/05/2021 10:41:35 PM
How can I split this into date and time so that I have date in D6 and time in E6?
I want to do this because I have browsing history I want to import to calendar.
I found several…
0
votes
1 answer
Checking if there already is a sub-folder bearing date in its name before attempting to create a newer version of it - using BAT script
So I got my answer to the
How to create a folder with current date in its name and copy to it all files and folders from some path on Windows 10
question, but as it was a duplicated issue and I am a newbie on this forum- it was closed and I am…

Elerium-115
- 9
- 4
0
votes
1 answer
Grok pattern for [Mon Jan 04 08:36:12 2021]
I am working on shipping some logs to elasticsearch using logstash. I am unable to figure out the grok pattern for [Mon Jan 04 08:36:12 2021] .The format is Day Month Date Time Year Help and Suggestions are most welcome.
Log - [Mon Jan 04 08:36:12…

UMA MAHESWAR
- 167
- 3
- 16
0
votes
1 answer
Walking directory tree and appending datestamps to file names
I have a directory of some circa 900 word, excel, PDF files and my end goal is I want to scan the directory for PDF documents only, move them to a single file, datestamp them, and then search them certain Company names, returning the file name/date…

Marmot
- 89
- 10
0
votes
2 answers
How do I separate a mysql datestamp field into year, quarter, month and day
I have a mysql database with a datestamp field for entries. I'd really like to separate out the year, quarter, month and day into individual columns. I can make the new columns without a problem but I don't know how to write a query that does this…

Bruce
- 1
0
votes
1 answer
Printing row based on datestamp condition of another column
Background:I have a DataFrame ('weather_tweets') containing two columns of interest, weather (weather on the planet Mars) and date (the date the weather relates). Structure as follows:
Objective:I am trying to write code that will determine the…

William
- 191
- 5
- 32
0
votes
1 answer
How do i pull data between current date and current date + 2 but exclude weekends?
I have a report that runs daily, it shows orders due but between sysdate and sysdate +2. The only issue with this is as we don't work weekends, there's never any records for SAT/SUN.
When the report runs on Friday to pick up orders due today and…

Kay
- 45
- 6