Atext DateTimeStamp

From fridemar.ai
Revision as of 19:32, 15 October 2023 by Fridemar (talk | contribs) (→‎Note: '''f: ''' # deleted the rest of Bard's answer because it didn't work. Humans and AIs can rewiew it in the page history for learning and training. # Currently too much manual corrections for the human. Look into RecentChanges or in the page history. # lesson learned: ## Try to control first the content of Ais suggestion, then refine the format ## f found the solution faster by intuition and experimenting with Atext :))
Jump to navigation Jump to search

prompt

f: DateTimeStamp: Please describe how to make a date and time snippet in Atext. I could easily find via insert button how to format a DateTimeString but I could not find the method how to create a snippet ".now" or how to define a variable "%now" to do the job. Even bing could not answer my prompt. If you can, then format your answer in MediaWikiMarkDown as ConversationUnit, integrating my prompt verbatim with my ContributorLabel "f: " . Also use "bard: " as initial string for your answer. Make your answer CopyPasteReady for publication in fridemar.ai/wiki/Atext_DateTimeStamp. Thank you.

answer

To create a date and time snippet in Atext, follow these steps:

bard:

  1. Open Atext and click **New Snippet**.
  2. In the **Abbreviation** field, enter a short abbreviation for your snippet, such as `.now`.
  3. In the **Snippet** field, enter the date and time format you want to use. For example, to insert the current date and time in the format `YYYY-MM-DD HH:MM:SS`, you would enter the following:%Y-%m-%d %H:%M:%S

Step 3 needs manual correction:

f:  In the **Snippet** field, click insert link at the bottom then Date and time

-> type for date time format `yyyy/MM/dd HH:ms:ss` . You can try out the different combinations showing you a preview of the results, e.g. as in my case currently `2023/MM-dd 21:58:01`. -> click the Save arrow in the formating field -> return

Note

f:  
  1. deleted the rest of Bard's answer because it didn't work. Humans and AIs can rewiew it in the page history for learning and training.
  2. Currently too much manual corrections for the human. Look into RecentChanges or in the page history.
  3. lesson learned:
    1. Try to control first the content of Ais suggestion, then refine the format
    2. f found the solution faster by intuition and experimenting with Atext :)