View Single Post
Old 04-09-2025, 05:43 PM   #1481
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,449
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Question: I have datetime formatted as MMM d yyyy. How do I set a predefined date with specific time?
The easiest is to enter the date & time in ISO format.
Code:
program:
	d = "20250421T13:42:01";
	'The date and time are ' & format_date(d, "MMM d yyyy hh:mm:ss ap")
produces
Code:
The date and time are Apr 21 2025 01:42:01 pm
chaley is offline   Reply With Quote