... a phone number
datetime // enter a date and time
date // selectable date
time // selectable time
android:imeOptions
normal
actionUnspecified
actionNone
actionGo
actionSearch
actionSend
actionNext
actionDone
actionPrevious
IME_ACTION(s) ...
... + "/" + SUBSTRING(This_Date,4,2) + "/" + SUBSTRING(This_Date,7,4))
-- if data source column is of datatype string and european date format: return SQL datetime
(TRIM(This_Date) == "") ? (DT_DBTIMESTAMP)"1900-01-01" ...
... s, ssf, sst
FROM `Session` s
LEFT OUTER JOIN `SessionStaff` ssf ON ssf.sessionId=s.sessionId
LEFT OUTER JOIN `SessionStudent` sst ON sst.sessionId=s.sessionId
WHERE s.dateTime >= '2013-02-01 00:00:00'
-- ...
This was called a Data-Scrambling Function but it depends on what you mean by "scrambling". This is a function which merely uses the same characters but switches their order randomly, so I've renamed ...
... this week, 1 for the week before, 2 for the week before that...
$timesheet_query_per_user="
SELECT DISTINCT
s.StaffUserID AS 'UserID',
(
SELECT SEC_TO_TIME(SUM(TIME_TO_SEC(s.EstimateTimeFinish)-TIME_TO_SEC(s.DateTimeCreated))) ...
... perform formatting to extract the minimum data here (eg. datetime into date, etc)
*
FROM
[pretendDatabase].[pretendSchema].[pretendTable] t0
WHERE
[pretendField]='elephantastic'
-- ...
... WEEKDAY(s.DateTimeCreated) WHEN 0 THEN 'Monday' WHEN 1 THEN 'Tuesday' WHEN 2 THEN 'Wednesday' WHEN 3 THEN 'Thursday' WHEN 4 THEN 'Friday' WHEN 5 THEN 'Saturday' ELSE 'Sunday' END AS ActivityDay,
DATE(s.DateTimeCreated) ...
... datetime NOT NULL Time report started to run.
TimeEnd datetime NOT NULL Time report finished running? Need to check what finished?
TimeDataRetrieval int NOT NULL Milliseconds spent retrieving the ...
I might already have something similar to this but this deserves its own article. Why? Well try to search the web for a PHP/MySQL solution which suggests on how to count the hours between two times on ...
... below... hopefully it will be quicker next time now that I noted it all down.
The SQL Script:
DECLARE
@StartTime datetime,
@EndTime datetime,
@GivenDate datetime;
SET DATEFORMAT dmy;
SET ...
... @StartDate DATETIME, @EndDate DATETIME
--First day of current month
SET @StartDate = DATEADD(s,0,DATEADD(mm, DATEDIFF(m,0,GETDATE()),0))
--First day to display on calendar
SET @StartDate = DATEADD(DAY,-DATEPART(WEEKDAY,@StartDate)+1,@StartDate)
--Last ...
Thought I'd add a note as I was getting confused with the built-in function "FormatDateTime()". The example is shown as:
=FormatDateTime(Fields!BirthDate.Value, DateFormat.ShortDate)
The ...
... bookings for a week based on a given date and campus
-- ===============================================================================
DECLARE
@GivenDate datetime,
@GivenCampus varchar(100),
@setId ...
... 1, 0)) 'Smart',
SUM(IF(t1.VisitorBrowser='Other', 1, 0)) 'Other',
COUNT(t1.VisitorBrowser) 'Total'
FROM
(SELECT
a.DateTimeStamp Date,
CASE
WHEN INSTR(a.VisitorUAgent, 'MSIE ') THEN 'MSIE'
WHEN ...
... via the browser useragent (VisitorUAgent), the User ID (VisitorID, 0 if not logged in) and of course the Timestamp (DateTimeStamp).
Here is a page of some MySQL queries I can do based on just those ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.