Okay, you can view and change the metadata (often called "fields") of a tiddler primarily through its Edit View. This is the standard way TiddlyWiki handles tiddler properties beyond the main text.
Here's how to do it, focusing on changing the creation date:
1. View the Tiddler:
Navigate to the tiddler you want to modify.
2. Switch to Edit View:
Click the edit button (usually a pencil icon) for that tiddler.
3. Locate the Fields Section:
In the edit view, scroll down below the main text editor area.
You will see a section titled "Fields" or sometimes just a list of key-value pairs.
4. View Existing Metadata/Fields:
This "Fields" section displays all the metadata associated with the tiddler.
You'll typically see system fields like:
title: The title of the tiddler (also editable at the top).
tags: Any tags applied (also editable in a dedicated input field).
created: The date and time the tiddler was initially created.
modified: The date and time the tiddler was last modified.
type: The content type (e.g., text/vnd.tiddlywiki, text/html, image/png).
Any custom fields you or other users have added.
5. Change the Creation Date (created field):
In the "Fields" section, find the row for the created field.
The value is displayed next to created.
Click into the value field to edit it.
Crucially: TiddlyWiki expects dates in a specific ISO 8601-like format: YYYYMMDDHHmmssSSS (Year, Month, Day, Hour, Minute, Second, Millisecond).
Example: 20231027103000000 for October 27, 2023, 10:30:00 AM.
Enter the desired date and time in this format.
6. Change Other Metadata/Fields:
modified: You can also manually change the modified field in the same way. Note: The modified date is usually updated automatically by TiddlyWiki whenever you save the tiddler after editing. Manually changing it overrides this automatic behaviour for that save.
Custom Fields: You can add new fields by typing a key name (e.g., author, status) in the empty "Add new field" row and entering a value. You can also modify or delete existing custom fields here.
tags: While visible in the Fields section, tags are usually edited using the dedicated tag input box near the top of the edit view.
title: The title is edited in the main title input box at the very top of the edit view.
7. Save Your Changes:
Once you've finished editing the fields and the main text, click the done button (usually a checkmark icon) to save the tiddler.
Your changes to the metadata, including the creation date, will now be saved with the tiddler.
Important Considerations:
Date Format: Getting the YYYYMMDDHHmmssSSS format exactly right is essential for created and modified dates to be interpreted correctly by TiddlyWiki (e.g., for sorting).
Automatic modified: Remember that saving the tiddler will likely update the modified field again automatically unless you specifically edited it during that session.
Impact of Changes: Changing system fields like created can affect how tiddlers appear in lists sorted by creation date, and potentially how some plugins or macros interact with the tiddler.
User
Those fields don't show there
Assistant
Okay, that's unexpected and usually means one of a few things is happening. The "Fields" section is a core part of the standard edit template in TiddlyWiki.
Here are the most common reasons you might not be seeing them and what to look for:
The Fields Section is Collapsed:
This is the most frequent reason. The fields section might be collapsed by default or from a previous action.
Look carefully around the area below the main text editor box in the edit view.
Is there a small heading, a label like "Fields" or "More Options", or an arrow (like ▶ or ▼) or a plus/minus icon (+ / -) near the bottom of the editor area?
Click on any such heading, label, or icon. It should expand the hidden fields section.
A Custom Theme or Plugin is Hiding or Modifying the Edit View:
Are you using a non-standard theme or have you installed any plugins that significantly change the user interface or the editing experience?
Some themes or plugins might replace the default edit template ($:/core/ui/EditTemplate) with their own, which might be styled differently, move things around, or even omit the fields section entirely (though this is less common for core functionality like fields).
If you suspect this, try switching back to the default TiddlyWiki theme ($:/themes/tiddlywiki/vanilla and $:/themes/tiddlywiki/snowwhite are the defaults) temporarily in the Control Panel (Control Panel -> Appearance -> Themes) to see if the fields reappear.
The Core Edit Template Has Been Modified:
This is less likely unless you or someone else has been doing advanced customization. The tiddler $:/core/ui/EditTemplate defines how the edit view looks. If this tiddler was modified to remove the section that displays fields, they won't show up. Editing this tiddler requires care.
Configuration Setting (Less Likely for Hiding Entirely):
While there are settings for various things, there isn't a common setting to simply hide the entire fields section from the edit view. Check Control Panel -> Settings just in case, but it's improbable this is the cause.
How to Verify Fields Exist (Even if Hidden in Edit View):
Even if you can't see them in the edit view fields section, the fields like created, modified, , etc., exist for almost every tiddler. You can see them in other ways:
User
Under more and info there's a fields tab which shows created and modified fields. But I cant edit them
Assistant
Okay, seeing the fields in the Info Panel confirms that the created and modified fields do exist on your tiddlers. The Info Panel is primarily for viewing details and history, which is why you can't edit them there.
The problem is still that the standard editable "Fields" section isn't appearing in the Edit View. Let's troubleshoot this again, as it's where you should be able to edit them directly.
Here are the possibilities again, with more detail on how to find that section:
It's Almost Certainly a Collapsed Section in the Edit View:
Go back to the tiddler you want to edit.
Click the edit button (pencil icon).
Look very carefully below the main text editor area.
Scan the area for any of the following:
A small grey bar or heading that says "Fields" or "More Fields".
A title like "Advanced" or "Metadata".
A triangle icon (▶ or ▼) that looks clickable, often next to a label.
A plus or minus sign (+ or -).
It might be styled to blend in or be very compact. Click anything that looks like it might expand a section. This is by far the most common reason people don't see the fields.
A Custom Theme or Plugin is Replacing the Standard Edit Template:
If you're using a theme other than the default "Vanilla" or "SnowWhite", or if you have plugins installed that alter the editing UI (like some advanced editor plugins), they might be providing their own edit template that hides or relocates the fields section.
Test: Go to Control Panel -> Appearance -> Themes. Switch both the "Color Palette" and "Theme" dropdowns to one of the standard TiddlyWiki themes (like Vanilla). Save and refresh your TiddlyWiki. Then try editing the tiddler again. If the fields section appears, the issue is with your theme or another UI-modifying plugin.
The Core Edit Template Has Been Modified (Advanced):
The tiddler $:/core/ui/EditTemplate defines the structure of the standard edit view. If this tiddler has been modified, the fields section might have been removed or commented out.
Unless you or someone else deliberately did this, it's less likely. You can view this tiddler in view mode (search for $:/core/ui/EditTemplate) but editing core tiddlers is risky if you're not familiar with TiddlyWiki internals.
User
How create a tiddler with two buttons and an edit box, the edit box specifies the tiddler, and the buttons add or subtract one from the creation date day
Assistant
Okay, let's create a TiddlyWiki tiddler that serves as a simple utility for this purpose. This tiddler will contain:
An <$edit-text> widget linked to a field on the utility tiddler itself to store the title of the target tiddler.
Two <$button> widgets, each containing an <$action-setfield> widget.
The action widgets will read the target tiddler title from the edit box, get the target tiddler's current created date, calculate the new date (+1 or -1 day), and set the created field to the new calculated value in the correct format.
Here is the wikitext for this utility tiddler.
How to use:
Create a new tiddler (e.g., title it Date Adjustment Utility).
Switch to the edit view of this new tiddler.
Paste the wikitext below into the main text area.
Save the Date Adjustment Utility tiddler.
Now, whenever you open the Date Adjustment Utility tiddler in view mode:
Type the exact title of the tiddler you want to modify into the input box.
Click either the << Decrement Day button or the Increment Day >> button.
The creation date of the tiddler you typed in will be adjusted by one day.
wikitext
User
Doens't work at all
Assistant
Okay, "doesn't work at all" could mean several things. Let's troubleshoot step-by-step to figure out what's going wrong.
Tell me as specifically as you can:
Did you create the new tiddler and paste the wikitext into its edit view?
Did you save that tiddler?
Does this new tiddler (e.g., "Date Adjustment Utility") appear in your sidebar or allow you to open it?
When you open the "Date Adjustment Utility" tiddler in view mode (not edit mode):
Do you see the heading "!! Date Adjustment Utility"?
Do you see the label "Target Tiddler Title:"?
Do you see an input box below that label?
Do you see the "Note: Enter a tiddler title above to enable buttons." message?
Did you type the exact title of the tiddler you want to change into the input box?
Did you type it correctly, paying attention to capitalization and spacing?
Did you then click outside the input box or press Enter to make sure the value is saved to the utility tiddler's field?
After typing the title and confirming it's entered:
Do the " << Decrement Day" and "Increment Day >>" buttons appear?
Do you see the "Current created date..." text below the buttons?
If the buttons do appear, what happens when you click one?
Does anything happen visually?
Do you see any error messages appear in TiddlyWiki itself?
Does the "Current created date..." text update immediately? (Sometimes you need to close and reopen the target tiddler, or refresh the utility tiddler to see the change reflected in the display).
Most importantly: Go to the target tiddler (the one whose date you tried to change) and open its Info Panel (... menu -> Info -> Fields tab). Has the created field's value changed?
Check the Browser Console: This is a crucial debugging step for TiddlyWiki widgets.
Press F12 in your web browser to open the developer tools.
Go to the Console tab.
Click one of the buttons on your utility tiddler.
Do any red error messages appear in the Console? If so, what do they say?
Common Potential Issues:
Copy/Paste Errors: A small typo when copying the wikitext can break a widget or filter syntax. Ensure you copied the entire block correctly.
User
Nope. Maybe make the button "update" and then put the current creation date in an editable field
Assistant
Okay, let's try a different approach based on your suggestion. This one will involve:
An input field for the target tiddler title (same as before).
An editable input field that is directly linked to the created field of the target tiddler, allowing you to see and change its value directly.
An "Update" button that saves the changes made in that editable date field back to the target tiddler.
This method gives you more direct control over the date string but requires you to enter the date in TiddlyWiki's specific YYYYMMDDHHmmssSSS format.
Here is the wikitext for this utility tiddler:
How to use:
Create a new tiddler (e.g., title it Direct Date Editor).
Switch to the edit view of this new tiddler.
Paste the wikitext below into the main text area.
Save the Direct Date Editor tiddler.
Now, whenever you open the Direct Date Editor tiddler in view mode:
Type the exact title of the tiddler you want to modify into the first input box.
Click outside the input box or press Enter to save the title to this utility tiddler.
An second input box will appear, showing the current creation date of the target tiddler in the format YYYYMMDDHHmmssSSS.
Edit the date and time string in this second input box. Be very careful to follow the YYYYMMDDHHmmssSSS format exactly.
Click the "Update Creation Date" button.
The changes you made in the date input box will be saved to the target tiddler's created field.
wikitext
User
But it also has to read the date from whatever it currently is to pre-populate the field
Assistant
You are absolutely right! When you link an <$edit-text> widget directly to a tiddler and field, it should automatically display the current value of that field for editing.
The previous code did use <$edit-text tiddler=<<targetTiddler>> field="created"/>, which is the correct method for pre-populating the field with its current value and allowing direct editing.
If it wasn't showing the existing date, it's possible there was a small error, or perhaps the value wasn't being saved to the utility tiddler's targetTiddlerTitle field properly before the second part rendered.
Let's refine the code slightly, add more explicit feedback, and ensure the structure correctly handles showing the current value.
Here's a revised version based on your idea of an editable field and an "Update" button, with clearer instructions and checks:
How to use (Revised):
Create a new tiddler (e.g., title it Enhanced Date Editor).
Switch to the edit view of this new tiddler.
Paste the wikitext below into the main text area.
Save the Enhanced Date Editor tiddler.
Now, whenever you open the Enhanced Date Editor tiddler in view mode:
Type the exact title of the tiddler you want to modify into the first input box ("1. Enter Target Tiddler Title").
Important: Click outside this input box or press Enter to save the title to this utility tiddler.
If the title is valid, a second section ("2. Edit Creation Date...") will appear.
This second section includes an input box showing the current creation date of the target tiddler in the YYYYMMDDHHmmssSSS format.
Edit the date and time string directly in this second input box. Be very careful to follow the YYYYMMDDHHmmssSSS format exactly.
Click the "Update Creation Date" button below the date input box.
The changes you made in the date input box will be saved to the target tiddler's created field.
wikitext
User
New Tiddler 3
12th May 2025 at 10:12am
Tiddler name:
Creation date (YYYYMMDDHHmmssSSS): 20250505075314550
Current creation date: 2025-5-5 HH:53:14
Assistant
Thanks for providing that output! This snippet is very helpful.
Good news: Looking at the line Creation date (YYYYMMDDHHmmssSSS): 20250505075314550, it appears the <$edit-text tiddler=<<targetTiddler>> field="created"/> part IS WORKING correctly!
It is successfully:
Identifying the target tiddler ("New Tiddler 3").
Retrieving its current created field value (20250505075314550).
Pre-populating the input field with that value.
So, the part about pre-populating is functioning as expected with the last wikitext I provided.
What you are seeing:
New Tiddler 3: This is the title of the tiddler you entered into the first input box.
12th May 2025 at 10:12am: This is the modified date of the utility tiddler itself ("Enhanced Creation Date Editor"), not the target tiddler. This is the default display at the top of any tiddler in view mode unless you change its template. It's easy to confuse!
Tiddler name:: This is the label for your first input box.
Creation date (YYYYMMDDHHmmssSSS): 20250505075314550: This is the label for the second input box, and the value 20250505075314550 is the current creation date of "New Tiddler 3" as retrieved and placed into the editable field. This is the field you should edit.
Current creation date: 2025-5-5 HH:53:14: This looks like the output from the display line I included in the previous code examples to show the date in a more readable format. The HH suggests a minor issue with the format token used there (0hh or hh should show the hour), but it confirms the date is being read.
To actually change the date:
In the "Enhanced Creation Date Editor" tiddler (in view mode):
Ensure "New Tiddler 3" (or your target tiddler's title) is in the first input box.
Look at the second input box, labelled "Creation date (YYYYMMDDHHmmssSSS):". It currently shows 20250505075314550.
Edit the string 20250505075314550 in that second input box to the new date and time string you want, keeping the YYYYMMDDHHmmssSSS format. For example, change the 0505 (May 5th) to 0513 (May 13th): 20250513075314550.
User
Nope still not
Assistant
Okay, let's break this down systematically again. I understand it's frustrating when it's not working as expected.
The fact that the second input field shows the correct YYYYMMDDHHmmssSSS value (20250505075314550) confirms that:
The target tiddler title is being correctly read from the first box.
The target tiddler's created field is being found.
The <$edit-text tiddler=<<targetTiddler>> field="created"/> widget is successfully linking to that field and displaying its current value.
This means the issue is almost certainly with the saving part – the "Update Creation Date" button and the <$action-save-tiddler> widget, or how you are verifying the change.
Let's try again, focusing specifically on the saving process and verification.
Here is the exact wikitext again (it should be the same as the last one):
Info Panel: In the view mode of the tiddler (not edit mode), open the Info Panel. This is usually done by clicking a small "i" icon or going to the More menu (...) for the tiddler and selecting "Info". The Info Panel lists all the fields of the tiddler, including created and modified. This confirms they are present, even if you can't edit them directly in the standard edit view.
What to do if you find the collapsed section:
If you find a collapsed section (step 1), click it to expand, and the fields list should appear as described in the original answer.
If you still can't see them or edit them:
Check the Info Panel: Confirm the fields are listed there.
Provide more context:
What version of TiddlyWiki are you using? (Look at the bottom right corner of the screen or in Control Panel -> About).
Are you using a custom theme or significant plugins?
Did you or someone else modify any core TiddlyWiki tiddlers (especially ones starting with $:/core/)?
Let's start by checking for that collapsed section. Look carefully below the main text editing area for any small headings, arrows, or buttons.
If you absolutely cannot find or restore the editable "Fields" section in the Edit View after trying the above, especially checking for the collapsed section and trying the default theme, here is an alternative (more technical) way to change a field using an action widget:
This method involves creating a separate temporary tiddler or adding a button/link somewhere that, when clicked, will modify the target tiddler.
Create a new tiddler (e.g., title it "Change Creation Date Helper").
Edit this new tiddler.
Enter the following wikitext:
wikitext
This button will change the creation date of the tiddler "Your Target Tiddler Title Here".
<$button>
Change Date
<$action-setfield $tiddler="Your Target Tiddler Title Here" created="YYYYMMDDHHmmssSSS"/>
</$button>
Replace:
Your Target Tiddler Title Here with the exact title of the tiddler whose creation date you want to change.
YYYYMMDDHHmmssSSS with the desired new creation date in the TiddlyWiki format (e.g., 20231027103000000).
Save the "Change Creation Date Helper" tiddler.
View the "Change Creation Date Helper" tiddler.
Click the "Change Date" button.
Go back and view the target tiddler. Its creation date should now be updated (you can check this in its Info Panel).
You can then delete the "Change Creation Date Helper" tiddler if you no longer need it.
This <$action-setfield> method bypasses the standard edit form and directly sets the field value. It's useful for scripting or if the edit template is problematic.
In summary, first try finding that hidden/collapsed fields section in the standard Edit View again. If that fails, test with the default theme. If both fail, the action widget provides a functional workaround.
!! Date Adjustment Utility
This utility allows you to change the creation date of a specified tiddler by adding or subtracting one day.
**Target Tiddler Title:**
<$edit-text field="targetTiddlerTitle" placeholder="Enter tiddler title here"/>
<$list filter="[<currentTiddler>has[targetTiddlerTitle]!field:targetTiddlerTitle[]]">
''Note:** Enter a tiddler title above to enable buttons.
</$list>
<$list filter="[<currentTiddler>has[targetTiddlerTitle]field:targetTiddlerTitle[]]">
<$set name="targetTiddler" value={{!!targetTiddlerTitle}}>
<$set name="currentCreated" value={{{ [<targetTiddler>get[created]] }}}>
<$button tooltip="Subtract one day from the creation date">
<< Decrement Day
<$action-setfield $tiddler=<<targetTiddler>> created={{{ [<targetTiddler>get[created]addday[-1]format:YYYYMMDDHHmmssSSS] }}}/>
</$button>
<$button tooltip="Add one day to the creation date">
Increment Day >>
<$action-setfield $tiddler=<<targetTiddler>> created={{{ [<targetTiddler>get[created]addday[1]format:YYYYMMDDHHmmssSSS] }}}/>
</$button>
<br><br>
''Current created date of <$link to=<<targetTiddler>>><<targetTiddler>></$link>:'' <br>
<$text text={{{ [<targetTiddler>get[created]format:YYYY-0MM-0DD 0hh:0mm:0ss] }}}/>
</$set>
</$set>
</$list>
<br>
''How it works:''
* The input field stores the tiddler title in a field called `targetTiddlerTitle` on *this* utility tiddler.
* The buttons use the `<$action-setfield>` widget to modify the tiddler specified in `targetTiddlerTitle`.
* The new date value is calculated using a filter: `[<targetTiddler>get[created]addday[-1 or 1]format:YYYYMMDDHHmmssSSS]`. This gets the current `created` field, adds/subtracts a day, and formats it back into TiddlyWiki's required string format.
* The buttons are only visible when the `targetTiddlerTitle` field is not empty, using a `<$list>` widget for conditional rendering.
Explanation:
<$edit-text field="targetTiddlerTitle" placeholder="Enter tiddler title here"/>: This creates the input box. Whatever you type in it is saved into a field called targetTiddlerTitleon the current tiddler (the Date Adjustment Utility tiddler).
<$list filter="[<currentTiddler>has[targetTiddlerTitle]field:targetTiddlerTitle[]]"> ... </$list>: This ensures the buttons and related info only appear when you've actually typed something into the input box and saved it to the targetTiddlerTitle field. <$list> is a common way to do conditional rendering based on filters.
<$set name="targetTiddler" value={{!!targetTiddlerTitle}}>: This defines a variable targetTiddler which holds the title from the edit box. This makes the wikitext cleaner as we can now use <<targetTiddler>> instead of repeating {{!!targetTiddlerTitle}}.
<$button> ... <$action-setfield .../> </$button>: This creates the buttons. The core logic is inside <$action-setfield>.
$tiddler=<<targetTiddler>>: This tells <$action-setfield> which tiddler to modify – it uses the value of the targetTiddler variable (which comes from your input box).
created={{{ [<targetTiddler>get[created]addday[-1]format:YYYYMMDDHHmmssSSS] }}}: This is the calculation.
[<targetTiddler>get[created]]: Gets the current value of the created field from the target tiddler.
addday[-1] (or addday[1]): A filter operator that takes a date and subtracts 1 day (or adds 1 day).
format:YYYYMMDDHHmmssSSS: A filter operator that takes a date (the result of addday) and formats it back into the specific string format TiddlyWiki uses for system dates.
{{{ ... }}}: This triple-curly-brace syntax evaluates the filter expression inside and uses its result as the value for the attribute.
The <$link> and <$text> below the buttons show you the target tiddler's title and its current created date (formatted for readability using format:YYYY-0MM-0DD 0hh:0mm:0ss) after any changes are applied.
This approach is robust because it uses TiddlyWiki's built-in date operators to handle the complexity of date calculations and formatting correctly.
Not Saving the Utility Tiddler: The wikitext won't work until the utility tiddler itself is saved after pasting the code.
Not Saving the Input: The buttons only show up when the targetTiddlerTitle field on the utility tiddler is set. Typing in the box requires clicking away or pressing Enter for that field to be saved.
Incorrect Target Tiddler Title: Tiddler titles are case-sensitive.
Filters Failing: If the filter [<targetTiddler>get[created]addday[...]format:YYYYMMDDHHmmssSSS] isn't evaluating correctly, the $action-setfield won't get the right value.
Please provide details based on the steps above. Knowing where it fails will help pinpoint the problem.
!! Direct Creation Date Editor
This utility allows you to view and directly edit the creation date of a specified tiddler.
**1. Enter Target Tiddler Title:**
<$edit-text field="targetTiddlerTitle" placeholder="Enter tiddler title here"/>
<$list filter="[<currentTiddler>has[targetTiddlerTitle]!field:targetTiddlerTitle[]]">
''Note:** Enter a tiddler title above to see and edit its date.
</$list>
<$list filter="[<currentTiddler>has[targetTiddlerTitle]field:targetTiddlerTitle[]]">
<$set name="targetTiddler" value={{!!targetTiddlerTitle}}>
**2. Edit Creation Date:**
<$list filter="[tiddler[<targetTiddler>]]"> [[Warning: Tiddler "<$text text=<<targetTiddler>>/>" does not exist!]] </$list>
<$list filter="[tiddler[<targetTiddler>]]" variable="true">
<p>
Current/Editable Date (YYYYMMDDHHmmssSSS): <br>
<$edit-text tiddler=<<targetTiddler>> field="created" size="20"/>
</p>
<p>
<$button tooltip="Save the date entered above to the target tiddler">
Update Creation Date
<$action-save-tiddler $tiddler=<<targetTiddler>>/>
</$button>
</p>
<p>
''Target Tiddler:'' <$link to=<<targetTiddler>>><$text text=<<targetTiddler>>/></$link><br>
(Check its Info Panel to confirm the change)
</p>
</$list>
</$set>
</$list>
<br>
''How it works:''
* The first input field saves the target tiddler's title in the `targetTiddlerTitle` field of *this* utility tiddler.
* When `targetTiddlerTitle` is set, a second input field appears. This field is directly linked to the `created` field of the tiddler named by `targetTiddlerTitle` using `<$edit-text tiddler=<<targetTiddler>> field="created"/>`.
* Typing in this second box changes the value *in the UI representation* of the target tiddler's field.
* Clicking the "Update Creation Date" button triggers `<$action-save-tiddler $tiddler=<<targetTiddler>>/>`, which saves the target tiddler, including the modified `created` field value you typed in.
* The date *must* be in the TiddlyWiki format: `YYYYMMDDHHmmssSSS`. Example: `20231027164530123` for 2023 Oct 27 at 4:45:30.123 PM.
Explanation of Changes:
<$edit-text tiddler=<<targetTiddler>> field="created" size="20"/>: This is the key change. This <$edit-text> widget is explicitly told to edit the created field of the tiddler whose title is in the targetTiddler variable.
<$action-save-tiddler $tiddler=<<targetTiddler>>/>: The "Update" button uses this action widget. When clicked, it saves the specified tiddler (<<targetTiddler>>). Because the date input box was linked directly to the target tiddler's created field, the value you typed into that box is included in the data saved by action-save-tiddler.
The first <$list filter="[<currentTiddler>has[targetTiddlerTitle]!field:targetTiddlerTitle[]]"> and the second <$list filter="[<currentTiddler>has[targetTiddlerTitle]field:targetTiddlerTitle[]]"> are used to show different messages/UI depending on whether a target title has been entered in the first box.
The inner <$list filter="[tiddler[<targetTiddler>]]" variable="true"> additionally checks if the target tiddler actually exists before trying to show the editable fields, preventing errors if you type a non-existent title.
This should give you a clear view of the date string and the ability to directly edit it before saving. Remember to be precise with the YYYYMMDDHHmmssSSS format!
!! Enhanced Creation Date Editor
This utility allows you to view and directly edit the creation date of a specified tiddler by pre-populating an editable field.
**1. Enter Target Tiddler Title:**
<$edit-text field="targetTiddlerTitle" placeholder="Enter tiddler title here"/>
<$list filter="[<currentTiddler>has[targetTiddlerTitle]!field:targetTiddlerTitle[]]">
<p>''Note:** Enter a tiddler title above and click outside the box (or press Enter) to load its date.</p>
</$list>
<$list filter="[<currentTiddler>has[targetTiddlerTitle]field:targetTiddlerTitle[]]">
<$set name="targetTiddler" value={{!!targetTiddlerTitle}}>
<$list filter="[tiddler[<<targetTiddler>>]!is[missing]]"> ;; Only show editing if target tiddler exists
<p>
**2. Edit Creation Date for <$link to=<<targetTiddler>>><$text text=<<targetTiddler>>/></$link>:**
</p>
<p>
Current date being edited (YYYYMMDDHHmmssSSS): <br>
<$edit-text tiddler=<<targetTiddler>> field="created" size="20"/>
</p>
<p>
<$button tooltip="Save the date entered above to the target tiddler">
Update Creation Date
<$action-save-tiddler $tiddler=<<targetTiddler>>/>
</$button>
</p>
<p>
Remember: The date must be in the format: <code>YYYYMMDDHHmmssSSS</code> <br>
(e.g., <code>20231027164530123</code> for 2023 Oct 27 at 4:45:30.123 PM).
</p>
<p>
After clicking "Update", you can check the target tiddler's Info Panel to confirm the change.
</p>
</$list>
<$list filter="[tiddler[<<targetTiddler>>]is[missing]]"> ;; Show warning if target tiddler is missing
<p>
[[Warning: Tiddler "<$text text=<<targetTiddler>>/>" does not exist!]] Please enter a valid tiddler title.
</p>
</$list>
</$set>
</$list>
<br>
''How it works:''
* The first input field saves your target tiddler's title into the <code>targetTiddlerTitle</code> field of *this* utility tiddler.
* The second input field, using <code><$edit-text tiddler=<<targetTiddler>> field="created"/></code>, is directly linked to the target tiddler's `created` field. It displays the current value and allows you to type changes.
* The "Update Creation Date" button uses <code><$action-save-tiddler $tiddler=<<targetTiddler>>/></code> to save the target tiddler, including the modified `created` field value from the linked edit box.
* A check is included to ensure the target tiddler exists before attempting to edit its fields.
Key Points in this version:
The core mechanism <$edit-text tiddler=<<targetTiddler>> field="created"/> remains the same, as this is the standard TiddlyWiki way to link an input box to a specific field of another tiddler for both display (pre-population) and editing.
Added an explicit message and <$list> filter to guide the user to enter the title in step 1 first, and that the rest of the form appears after that field has a value.
Added a check [tiddler[<<targetTiddler>>]!is[missing]] to ensure the target tiddler exists before trying to show the edit box linked to its field. This prevents potential errors if a non-existent title is entered.
Clearer labeling for the steps and the required date format.
Try this version and follow the steps precisely, especially step 1 about entering the title and making sure it's saved to the utility tiddler's field before expecting step 2 to appear and be populated.
After editing the date string, click the "Update Creation Date" button (which wasn't in your snippet, but should be present from the wikitext).
Now, open the "New Tiddler 3" tiddler (the target tiddler).
Go to its Info Panel (... menu -> Info -> Fields tab).
Check the value of the created field. It should now be 20250513075314550 (or whatever you typed).
The editable field is pre-populated. The final step is editing that pre-populated value and clicking the button to save it to the target tiddler.
Does this explanation help, and did you perform step 5 (clicking the "Update Creation Date" button) after changing the date in the second box?
!! Enhanced Creation Date Editor
This utility allows you to view and directly edit the creation date of a specified tiddler by pre-populating an editable field.
**1. Enter Target Tiddler Title:**
<$edit-text field="targetTiddlerTitle" placeholder="Enter tiddler title here"/>
<$list filter="[<currentTiddler>has[targetTiddlerTitle]!field:targetTiddlerTitle[]]">
<p>''Note:** Enter a tiddler title above and click outside the box (or press Enter) to load its date.</p>
</$list>
<$list filter="[<currentTiddler>has[targetTiddlerTitle]field:targetTiddlerTitle[]]">
<$set name="targetTiddler" value={{!!targetTiddlerTitle}}>
<$list filter="[tiddler[<<targetTiddler>>]!is[missing]]"> ;; Only show editing if target tiddler exists
<p>
**2. Edit Creation Date for <$link to=<<targetTiddler>>><$text text=<<targetTiddler>>/></$link>:**
</p>
<p>
Current date being edited (YYYYMMDDHHmmssSSS): <br>
<$edit-text tiddler=<<targetTiddler>> field="created" size="20"/>
</p>
<p>
<$button tooltip="Save the date entered above to the target tiddler">
Update Creation Date
<$action-save-tiddler $tiddler=<<targetTiddler>>/>
</$button>
</p>
<p>
Remember: The date must be in the format: <code>YYYYMMDDHHmmssSSS</code> <br>
(e.g., <code>20231027164530123</code> for 2023 Oct 27 at 4:45:30.123 PM).
</p>
<p>
After clicking "Update", you should check the target tiddler's Info Panel to confirm the change.
</p>
</$list>
<$list filter="[tiddler[<<targetTiddler>>]is[missing]]"> ;; Show warning if target tiddler is missing
<p>
[[Warning: Tiddler "<$text text=<<targetTiddler>>/>" does not exist!]] Please enter a valid tiddler title.
</p>
</$list>
</$set>
</$list>
<br>
''How it works:''
* The first input field saves your target tiddler's title into the <code>targetTiddlerTitle</code> field of *this* utility tiddler.
* The second input field, using <code><$edit-text tiddler=<<targetTiddler>> field="created"/></code>, is directly linked to the target tiddler's `created` field. It displays the current value and allows you to type changes.
* The "Update Creation Date" button uses <code><$action-save-tiddler $tiddler=<<targetTiddler>>/></code> to save the target tiddler, including the modified `created` field value from the linked edit box.
* A check is included to ensure the target tiddler exists before attempting to edit its fields.
Step-by-Step Process - Follow Exactly:
Create a new tiddler (e.g., Enhanced Date Editor). Paste the wikitext. Save this utility tiddler.
Open the Enhanced Date Editor tiddler in view mode.
In the first input box ("1. Enter Target Tiddler Title"), type the exact title of the tiddler you want to change (e.g., New Tiddler 3).
Click outside the first input box or press Enter. The second section ("2. Edit Creation Date...") should now appear below it.
Observe the second input box. It should show the current date and time string for the target tiddler (20250505075314550 in your example).
Carefully edit the date string in the second input box. Change just one digit to test, for example, change 20250505... to 20250506.... Make sure you keep the length and format YYYYMMDDHHmmssSSS.
Click the "Update Creation Date" button directly below the second input box.
Crucial Verification Step: Go to the target tiddler (New Tiddler 3). Do not look at the top of the utility tiddler.
On the target tiddler (New Tiddler 3), click the "More" menu (...) in the top right corner of the tiddler.
Select "Info".
In the Info panel that appears, click on the "Fields" tab.
Look at the value listed for the created field. Has this value changed to what you typed in step 6?
If the created field in the target tiddler's Info Panel is not changing after you click the button:
We need to figure out why the save action isn't happening or isn't working.
Check the Browser's Developer Console:
With your TiddlyWiki open in the browser, press F12 on your keyboard.
This opens the Developer Tools. Click on the "Console" tab.
Go back to your Enhanced Date Editor tiddler.
Enter the target tiddler title (step 3 & 4 above).
Change the date in the second box (step 6 above).
Click the "Update Creation Date" button (step 7 above).
Immediately look back at the Console tab in the Developer Tools. Are there any red error messages that appeared when you clicked the button? If so, copy and paste the full error message here.
How is your TiddlyWiki saved and opened?
Are you using TiddlyWiki hosted on a website?
Are you opening a .html file directly from your computer?
Are you using TiddlyDesktop?
Are you using a browser extension like TiddlyFox (old and not recommended) or another saving method?
Sometimes, browser security prevents JavaScript (which TiddlyWiki uses for saving) from saving local files unless you use a specific method (like TiddlyDesktop or a compatible browser extension/saving mechanism).
Let's focus on these steps, especially checking the Info Panel of the target tiddler and looking at the browser console for errors. This will tell us if the save action is failing silently or not even attempting to run.