What?
A very quick article to calculate the time between two timestamps and break it down into days, hours, minutes and seconds.
Why?
I've done this in lots of other systems but here's one in Zoho ...
... Zoho CRM Invoices and noticed that Xero stores its dates in Unix Timestamps.
How?
We're going to filter out the unix seconds from the date provided by Xero then apply a toTime() function to it.
v_XeroTime="/Date(1586995200000+0000)/";
v_StartIndex ...
... a timestamped duplicate if exists so need to check if it exists first)
// https://workdrive.zoho.com/home//teams//ws//folders/files
m_SubfolderNames = Map();
r_Subfolders = invokeurl
[
url :"https://www.zohoapis.com/workdrive/api/v1/teamfolders//folders?page%5Blimit%5D=50&page%5Boffset%5D=0"
type ...
What?
This is an article to document a function used in Zoho Creator to retrieve the Product IDs of all the active products in a client's eBay store.
Why?
The use-case was that I wanted to retrieve ...
What?
This is an article to document how I got a client's eBay to notify the seller every time a buyer bought a fixed price item. This uses the Trading API even though I'm aiming for the Platform Notifications ...
... to generate the infamous JWT. If you've been trying to check your base64 encoded strings at JWT.io then it's hard because the timestamps, included in the encoding, change every second. You can get it verifying ...
... on the code.
How?
So the plan is:
Declare the functions.
Authenticate on page load by checking timestamp in token file:
If token is required, redirect user to Consent page and rewrite token ...
... IDs to match your own solution):
// specify provider ID
$my_provider_id = 1234;
$my_timestamp = time();
// specify company ID
$company_id_1 = 1234;
$company_id_2 = 4321;
// specify agency ...
... copy subdirectories, including empty ones.
-- /XC excludes existing files with the same timestamp, but different file sizes.
-- /XN excludes existing files newer than the copy in the source directory.
-- ...
So having moved desk from one side of the room to another, I have lost my view of the sea. Oh well, this is where technology has come to the rescue and returned my calming view...
Note: I think this ...
... name, size, user who uploaded, timestamp and the path. Remember that the paths are determined using the MD5 Hash of the filename:
select
img_name,
img_size,
img_user_text,
img_timestamp,
CONCAT(SUBSTR(MD5(img_name), ...
... work on your reporting server as well. I'm using the database "ReportServer".
select * from
(
SELECT TOP 1
c.[Name] AS [ReportName]
, e.[ReportID] AS [ReportID]
, e.[TimeStart] AS [TimeStamp]
, ...
... milliseconds it took for a report to execute... I decided to do a database level calculation using two datasets:
-- Oracle 10g: DataSet1 -- your normal dataset query with an added field (ReportStartTime)
SELECT
field1,
field2,
TO_CHAR(systimestamp, ...
... that there appears a link that will run a stored procedure which
Updates a timestamp in an existing table
Inserts a row into an audit table
I need the report to run the stored procedure, then ...
... row.
My final query
This displays all room bookings for today and the next 6 days. Note how I can't use normal dates because the database wasn't designed with timestamps (despite being a timetabling ...
... to... Compare the two timestamps, if the "To date" is less than the "From date" then add 1 day to the date:
$thisDateSQL=date("Y-m-d", strtotime($sub_row['DateSession']));
$this_time_from1 = date("H:i ...
... is about formatting dates and times but if you want a NOW timestamp in a specific format, try...
=Format(now(), "ddd, dd MMMM yyyy HH:mm:ss")
=Format(now(), "dd/MM/yyyy")
The reserved expression ...
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.